测试,role删除

This commit is contained in:
cherishsince 2024-04-24 19:38:58 +08:00
parent cec8cc7a2b
commit 9e412ffec8
3 changed files with 10 additions and 5 deletions

View File

@ -49,3 +49,10 @@ Authorization: {{token}}
}
### chat update
DELETE {{baseUrl}}/ai/chat/role/1
Content-Type: application/json
Authorization: {{token}}

View File

@ -16,15 +16,13 @@ tenant-id: 1
}
### chat call
GET {{baseUrl}}/ai/chat?modal=qianWen&conversationId=111&prompt=中国好看吗?
tenant-id: 1
GET {{baseUrl}}/ai/chat?modal=qianWen&conversationId=1781604279872581644&prompt=中国好看吗?
Authorization: {{token}}
### chat call
GET {{baseUrl}}/ai/chatStream?prompt=苹果是什么颜色?&modal=yiYan3_5_8k
tenant-id: 1
GET {{baseUrl}}/ai/chatStream?conversationId=1781604279872581644&prompt=苹果是什么颜色?&modal=yiYan3_5_8k
Authorization: {{token}}

View File

@ -4,6 +4,6 @@
},
"dev": {
"baseUrl": "http://127.0.0.1:48080",
"token": "Bearer a9bf9c8c10cb47fc92bc9aac95b63f5b"
"token": "Bearer 66346cc899e243b081321bd1336a257a"
}
}