mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 02:28:03 +08:00 
			
		
		
		
	【测试】AI对话
This commit is contained in:
		| @ -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}} | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 cherishsince
					cherishsince