普通问答-流式请求 Chat
POST
/api/analyze/chat/stream/question普通闲聊的接口。相当于直接问 ChatGLM 问题。
Prompt 参考:你是一个乐于解答各种问题的助手,你的任务是为用户提供专业、准确、有见地的建议。
请求参数
Body 参数application/json
message
string
用户提问
示例1
{
"message": "Vue 的作者他是谁?他很厉害吗?"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
错误码
message
null
错误码信息
data
null
成功时返回的数据
success
boolean
请求是否成功
示例
{
"code": "string",
"message": null,
"data": null,
"success": true
}
最后修改时间: 4 months ago