Browse Source

测试,role删除

cherishsince 1 year ago
parent
commit
9e412ffec8

+ 7 - 0
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-role.http

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

+ 2 - 4
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat.http

@@ -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}}
 
 

+ 1 - 1
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/http-client.env.json

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