1、增加 chat 和 chatStream

This commit is contained in:
cherishsince
2024-04-14 15:52:35 +08:00
parent 4b5910f972
commit a3530555ca
17 changed files with 98 additions and 71 deletions

View File

@@ -16,24 +16,17 @@ tenant-id: 1
}
### chat call
POST {{baseUrl}}/admin-api/ai/chat?prompt=中国怎么样
GET {{baseUrl}}/ai/chat?prompt=中国怎么样
tenant-id: 1
Authorization: {{token}}
### chat call
POST {{baseUrl}}/ai-api/chat
tenant-id: 1
Authorization: {{token}}
### chat call
GET {{baseUrl}}/chat-role/list
GET {{baseUrl}}/ai/chatStream?prompt=苹果是什么颜色?
tenant-id: 1
Authorization: {{token}}

View File

@@ -1,6 +1,6 @@
{
"dev": {
"baseUrl": "http://127.0.0.1:48080",
"token": "Bearer 07390ff2824a4798bcfd7f9395092181"
"token": "Bearer cff0ce99ddb14ea89c62ff4de1c31180"
}
}