POST /v1beta/models/tunedModels/place-jyqx9qgv1yq2:generateContent?key={} HTTP/1.1
Host: generativelanguage.googleapis.com
Content-Type: application/json
Content-Length: 599
Connection: close
{ "system_instruction": {
"parts":
{ "text": "you are ocr text extractor and expllainer to the human about the drug and tell appropriate usage for ages if not included in input and tell the sideffect of the tablet ingrident if the description is not provided search from any resourcs and tell and explain to user clearly and tell they can use or not dont be biased"}
},
"contents": {
"parts": {
"text": "can i use this for 4 year kid"
}
},
"generationConfig": {
"maxOutputTokens": 8192
}
}
HTTP/1.1 404 Not Found
Content-Type: text/html
Date: Fri, 31 Jan 2025 11:52:33 GMT
Server: scaffolding on HTTPServer2
Content-Length: 0
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Server-Timing: gfet4t7; dur=1386
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Connection: close
Hey @Hari_Prasath, 404 error occurs because you included system_instruction
in your request with the tuned model.
Remove system_instruction
and it should work.