Generate chat completion
Generate a chat completion from a prompt using one model in your use case. Your prompt messages can include several roles. This endpoints supports streaming
POST
Body
application/json
can be of the form {use_case}/{model}
or {use_case}
. In the latter it will use the default model
Required range:
x >= 0
id or key of the entity
Example:
"76d1fab3-214c-47ef-bb04-16270639bf89"
Required range:
x >= 0
dictionnary with key and values as string
Example:
{ "key": "value" }
dictionnary with key and values as string
Example:
{ "key": "value" }
Will be used to render system prompt template