mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-10 16:21:52 +08:00
【调整】根据接口设计调整,ai model
This commit is contained in:
@@ -1,19 +1,41 @@
|
||||
|
||||
|
||||
### chat call
|
||||
GET {{baseUrl}}/ai/chat/modal/list
|
||||
Authorization: {{token}}
|
||||
|
||||
|
||||
|
||||
### chat call
|
||||
PUT {{baseUrl}}/ai/chat/modal
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"modelName": "小红书Ai写作大模型",
|
||||
"modelType": "yiyan",
|
||||
"modalImage": "",
|
||||
"modelConfig": ""
|
||||
"name": "小红书Ai写作大模型-plus",
|
||||
"modal": "ERNIE-3.5-8K",
|
||||
"platform": "yiyan",
|
||||
"imageUrl": "",
|
||||
"config": {
|
||||
"topK": 0.6,
|
||||
"topP": 0.6,
|
||||
"temperature": 0.86,
|
||||
"maxTokens": 2048
|
||||
}
|
||||
}
|
||||
|
||||
### chat call
|
||||
POST {{baseUrl}}/ai/chat/modal/7
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
|
||||
{
|
||||
"name": "小红书Ai写作大模型-plus",
|
||||
"modal": "ERNIE-3.5-8K",
|
||||
"platform": "yiyan",
|
||||
"imageUrl": "",
|
||||
"config": {
|
||||
"topK": 0.6,
|
||||
"topP": 0.6,
|
||||
"temperature": 0.86,
|
||||
"maxTokens": 2048
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user