Post Chat Completion
身份验证
AuthorizationBearer
Bearer 身份验证,格式为 Bearer <token>,其中 token 是您的身份验证令牌。
路径参数
domain
请求
This endpoint expects an object.
messages
The messages to use for the chat completion
model
The model to use for the chat completion
允许的值:
max_tokens
The maximum number of tokens to generate. Note: setting a token count lower than 2000 may result in incomplete responses. You can add a custom system prompt to control the verbosity of the response.
system_prompt
The system prompt to use for the chat completion
rewrite_query
Whether to rewrite the query using query decomposition
响应
Successful Response
turns
The conversation turns in the chat completion
citations
List of citation strings
错误
422
Unprocessable Entity Error