Authorizations
Bearer token authentication using your API key generated on the Subconscious platform
Body
Chat completion request
API ID of the model to use
tim-small-preview
, tim-large
A list of messages comprising the conversation so far
The maximum number of tokens to generate in the chat completion
x >= 1
What sampling temperature to use, between 0 and 2
0 <= x <= 2
An alternative to sampling with temperature
0 <= x <= 1
If set, partial message deltas will be sent
Up to 4 sequences where the API will stop generating further tokens
Number between -2.0 and 2.0
-2 <= x <= 2
Number between -2.0 and 2.0
-2 <= x <= 2
Response
Chat completion response
A unique identifier for the chat completion
The object type, which is always 'chat.completion'
The Unix timestamp (in seconds) of when the chat completion was created
The model used for the chat completion
A list of chat completion choices