Create Chat Completions
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The list of messages to generate a response for. The last message is the prompt.
The id of the model to use for the generation
Whether to include citations in the generation > For use in owned_by: bing/openai
models only, defaults to true
.
The url of the image to use for the generation > Model limitations apply
Whether to use the internet for the generation > Model limitations apply, defaults to true
for bing models.
The maximum number of tokens to generate
Whether to return the raw response > For use in owned_by: bing/openai
models only! Returns Bing AI Suggestions and Search Results, defaults to false
.
The temperature of the sampling distribution
The tone of the generation > For use in owned_by: bing/openai
models only, defaults to precise
.
Defaults to auto
for automatic tool choice
The list of tools to use for the generation
The cumulative probability of the top tokens to keep in the nucleus of the distribution