请求地址 https://xnyxy.xyz/api/chatgpt
返回数据 {
"code": 200,
"msg": "获取成功",
"data": {
"question": "你是谁",
"answer": "我是一个人工智能助手,旨在提供信息和回答问题。如果你有任何问题或需要帮助,随时可以问我!",
"model": "gpt-3.5-turbo",
"system_prompt": "改这里",
"timestamp": 1766852166
}
}
| 参数名称 | 类型 | 参数值 | 描述 |
|---|---|---|---|
message |
必填 | message | 提问的问题 |
id |
可选 | id | 填数字 |
system |
可选 | system | 人设 |
type |
可选 | type | text或json,默认json |