mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 00:15:06 +08:00
【通义千问】重新对接阿里云通义前文。
This commit is contained in:
@ -22,13 +22,23 @@ public class AiChatModalDO extends BaseDO {
|
||||
*/
|
||||
private Long id;
|
||||
/**
|
||||
* 模型名字
|
||||
* 模型key
|
||||
*/
|
||||
private Long modelName;
|
||||
private String modelKey;
|
||||
/**
|
||||
* 模型类型(qianwen、yiyan、xinghuo、openai)
|
||||
* 模型类型 参考:{@link cn.iocoder.yudao.framework.ai.AiPlatformEnum}
|
||||
*/
|
||||
private String modelPlatform;
|
||||
/**
|
||||
* 模型类型
|
||||
* {@link cn.iocoder.yudao.framework.ai.chatyiyan.YiYanChatModel}
|
||||
* {@link cn.iocoder.yudao.framework.ai.chatxinghuo.XingHuoChatModel}
|
||||
*/
|
||||
private String modelType;
|
||||
/**
|
||||
* 模型名字
|
||||
*/
|
||||
private String modelName;
|
||||
/**
|
||||
* 模型照片
|
||||
*/
|
||||
|
@ -20,7 +20,7 @@ public class AiChatModalListRes {
|
||||
/**
|
||||
* 模型名字
|
||||
*/
|
||||
private Long modelName;
|
||||
private String modelName;
|
||||
/**
|
||||
* 模型类型(qianwen、yiyan、xinghuo、openai)
|
||||
*/
|
||||
|
@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
### 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": ""
|
||||
}
|
Reference in New Issue
Block a user