다중 대화, 도구 호출 및 스트리밍 응답을 위한 OpenAI 호환 채팅 완료 엔드포인트입니다.
用于为一段聊天对话生成模型回复。 这个接口适合标准文本对话,也可以承载视觉、音频和工具调用等场景。具体可用参数会随着模型能力不同而变化,尤其是推理模型与通用模型之间会有差异。Documentation Index
Fetch the complete documentation index at: https://docs.apigo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer {API_KEY}messages 和 model/v1/responsesmessages 是必填字段,用于承载完整对话历史;不同模型支持的消息模态可能不同model 是必填字段,用于指定本次调用的模型 IDtemperature 和 top_p 都会影响采样行为,通常只需要重点调整其中一个logprobs 与 top_logprobsprompt_cache_key 与 safety_identifierchoices[0].message.content 读取message.tool_calls 中读取工具名称和参数usage 中读取,包括输入、输出和更细粒度的 token 明细Bearer authentication header of the form Bearer <token>, where <token> is your auth token.