Chat Completions
Changed onServe an OpenAI-compatible chat completion.
Request
- Base URLhttps://api.fastino.ai
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Chat completion. Returns application/json (ChatCompletionResponse) by default, or text/event-stream of ChatCompletionStreamChunk events terminated by data: [DONE] when stream=true.
Changes
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: text/event-stream) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: text/event-stream)
- info
- warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: text/event-stream) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/event-stream)
- warning