ShiShiYiBan/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-conversation.http

28 lines
614 B
Plaintext
Raw Normal View History

2024-04-19 06:18:24 +08:00
### 登录 详细使用 https://www.jetbrains.com/help/idea/testing-restful-web-services.html、https://www.cnblogs.com/crazymakercircle/p/14317222.html
2024-04-20 17:53:41 +08:00
### 对话 - 创建对话
POST {{baseUrl}}/ai/chat/conversation/create
2024-04-19 06:18:24 +08:00
Content-Type: application/json
2024-04-20 17:53:41 +08:00
Authorization: {{token}}
2024-04-19 06:18:24 +08:00
{
2024-04-20 17:53:41 +08:00
"chatType": "userChat"
2024-04-19 06:18:24 +08:00
}
2024-04-20 17:53:41 +08:00
### 对话 - id获取
GET {{baseUrl}}/ai/chat/conversation/1781604279872581644
2024-04-19 06:18:24 +08:00
Authorization: {{token}}
2024-04-23 16:29:26 +08:00
### 对话 - list
GET {{baseUrl}}/ai/chat/conversation/list
Authorization: {{token}}
### 对话 - 删除
2024-04-20 17:53:41 +08:00
DELETE {{baseUrl}}/ai/chat/conversation/1781604279872581644
Authorization: {{token}}
2024-04-19 06:18:24 +08:00