【调整】根据api设计调整部分字段,和业务逻辑

This commit is contained in:
cherishsince
2024-05-06 18:21:17 +08:00
parent 2b7e7763bf
commit c0470dcabb
19 changed files with 266 additions and 33 deletions

View File

@@ -2,15 +2,27 @@
### 登录 详细使用 https://www.jetbrains.com/help/idea/testing-restful-web-services.html、https://www.cnblogs.com/crazymakercircle/p/14317222.html
### 对话 - 创建对话
POST {{baseUrl}}/ai/chat/conversation/create
PUT {{baseUrl}}/ai/chat/conversation/createConversation
Content-Type: application/json
Authorization: {{token}}
{
"chatType": "userChat"
"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}}

View File

@@ -19,14 +19,14 @@ Authorization: {{token}}
### chat update
POST {{baseUrl}}/ai/chat/role/6
POST {{baseUrl}}/ai/chat/role/7
Content-Type: application/json
Authorization: {{token}}
{
"modelId": 1,
"name": "小红书写作v1---hh😄",
"introduce": "采用gpt3.5模型,拥有小红书优质作者写作经验。",
"name": "小红书写作v1---hh😄",
"introduce": "采用gpt3.5模型,拥有小红书优质作者写作经验。0----",
"classify": "writing",
"enable": "close"
}