mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	1、增加 chat 和 chatStream
This commit is contained in:
		@@ -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}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "dev": {
 | 
			
		||||
    "baseUrl": "http://127.0.0.1:48080",
 | 
			
		||||
    "token": "Bearer 07390ff2824a4798bcfd7f9395092181"
 | 
			
		||||
    "token": "Bearer cff0ce99ddb14ea89c62ff4de1c31180"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user