Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The name of the model to use.
Example:
"nugen-flash-instruct"
A list of messages comprising the conversation so far.
Minimum length:
1
The maximum number of tokens to generate in the completion.
The size to which to truncate chat prompts.
What sampling temperature to use, between 0 and 2.
Required range:
0 <= x <= 2
Whether to stream back partial progress as server-sent events.
Response
Streaming chat completion responses or complete response depending on stream parameter
The response is of type any
.