Chat Completions
OpenAI-compatible chat completion powered by Sunbird’s Sunflower model.
Single-instruction usage is a request with one user message; conversational
usage passes the running message history. Set stream: true for
Server-Sent Events in OpenAI chat.completion.chunk format, terminated
by data: [DONE].
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Request body for POST /tasks/chat/completions (OpenAI format).
Conversation messages
1Model to use. Supported: Sunbird/Sunflower-14B
Sampling temperature
0 <= x <= 2Maximum tokens to generate
x >= 1Nucleus sampling probability
0 < x <= 1Stop sequence(s)
Stream the response as Server-Sent Events
Response
Successful Response
Non-streaming response body, OpenAI chat.completion object.

