Chat 补全
接口: POST https://4zapi.com/pg/chat/completions
OpenAI 兼容 playground 聊天。
请求体 (application/json)
messages(array<object>, 必填): 对话消息列表model(string, 必填): 模型名称 / 型号 IDmax_tokens(integer): 最大生成 token 数temperature(number): 采样温度;越高越随机
接口: POST https://4zapi.com/pg/chat/completions
OpenAI 兼容 playground 聊天。
messages (array<object>, 必填): 对话消息列表model (string, 必填): 模型名称 / 型号 IDmax_tokens (integer): 最大生成 token 数temperature (number): 采样温度;越高越随机