Create a chat completion
Create a model response for the given chat conversation. This endpoint is compatible with OpenAI's API and processes the chat through a workflow agent that can utilize various tools and capabilities to provide comprehensive responses.
POST
/
v1/chat/completionsRequest Body
application/jsonRequiredmodelRequiredModel
The language model to use for the chat completion, e.g. 'qwen2', 'mistral', 'qwen2.5', 'llama3.1', 'llama3.2', 'mistral-nemo'
messagesRequiredMessages
temperatureTemperature
top_pTop P
nN
streamStream
Default:
falsestopStop
max_tokensMax Tokens
presence_penaltyPresence Penalty
frequency_penaltyFrequency Penalty
userUser
Successful response