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
/completions
Request Body
application/json
Requiredmodel
RequiredModel
The language model to use for the chat completion, e.g. 'qwen2', 'mistral', 'qwen2.5', 'llama3.1', 'llama3.2', 'mistral-nemo'
messages
RequiredMessages
temperature
Temperature
top_p
Top P
n
N
stream
Stream
Default:
false
stop
Stop
max_tokens
Max Tokens
presence_penalty
Presence Penalty
frequency_penalty
Frequency Penalty
user
User
Successful response