mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-02-08 22:54:59 +08:00
【测试】AI对话
This commit is contained in:
parent
9ad977bdb9
commit
bd3e65898b
@ -1,39 +1,27 @@
|
|||||||
|
|
||||||
### 登录 详细使用 https://www.jetbrains.com/help/idea/testing-restful-web-services.html、https://www.cnblogs.com/crazymakercircle/p/14317222.html
|
### 登录 详细使用 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
|
### 对话 - 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}}
|
Authorization: {{token}}
|
||||||
|
|
||||||
|
|
||||||
### 对话 - 删除
|
### 对话 - 删除
|
||||||
DELETE {{baseUrl}}/ai/chat/conversation/1781604279872581644
|
DELETE {{baseUrl}}/admin-api/ai/chat/conversation/delete?id=1781604279872581647
|
||||||
Authorization: {{token}}
|
Authorization: {{token}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user