【测试】AI对话

This commit is contained in:
cherishsince 2024-05-07 16:22:58 +08:00
parent 9ad977bdb9
commit bd3e65898b

View File

@ -1,39 +1,27 @@
### 登录 详细使用 https://www.jetbrains.com/help/idea/testing-restful-web-services.html、https://www.cnblogs.com/crazymakercircle/p/14317222.html
### 对话 - 创建对话
PUT {{baseUrl}}/ai/chat/conversation/createConversation
Content-Type: application/json
Authorization: {{token}}
{
"title": "新增对话"
}
### 对话 - 创建对话
PUT {{baseUrl}}/ai/chat/conversation/createRoleConversation
Content-Type: application/json
Authorization: {{token}}
{
"roleId": 7,
"title": "新增对话"
}
### 对话 - id获取
GET {{baseUrl}}/ai/chat/conversation/1781604279872581644
Authorization: {{token}}
### 对话 - list
GET {{baseUrl}}/ai/chat/conversation/list
GET {{baseUrl}}/admin-api/ai/chat/conversation/list
Authorization: {{token}}
### 对话 - 创建对话
POST {{baseUrl}}/admin-api/ai/chat/conversation/create
Content-Type: application/json
Authorization: {{token}}
{
"roleId": "9"
}
### 对话 - id获取
GET {{baseUrl}}/admin-api/ai/chat/conversation/get?id=1781604279872581647
Authorization: {{token}}
### 对话 - 删除
DELETE {{baseUrl}}/ai/chat/conversation/1781604279872581644
DELETE {{baseUrl}}/admin-api/ai/chat/conversation/delete?id=1781604279872581647
Authorization: {{token}}