Chat Completions
Changed onTranscribe a document image. Send the page as an image_url content part and the reply is its text; response_format with a json_schema constrains that to a schema instead.
Request
- Base URLhttps://api.jina.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
An OpenAI chat completion, or a stream of chat.completion.chunk events when stream is true.
Changes
- breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response401 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response403 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response429 - breaking
response property
errorslist-of-types was widened by adding typesnullto media typeapplication/jsonof response422 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response401 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response403 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response429 - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
added required request body
- breaking
the response's body type changed from
objectto no type for status - info
api tag
Generative Modelsadded - info
api tag
Search Foundation Modelsremoved - info
added the non-success response with the status
- breaking