diff --git a/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-conversation.http b/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-conversation.http index 15c441f34..275ed56c3 100644 --- a/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-conversation.http +++ b/yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-conversation.http @@ -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}}