mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 09:30:05 +08:00
【优化】千问大模型定义,
This commit is contained in:
parent
2adb5accc4
commit
64b6b45bc6
@ -0,0 +1,33 @@
|
||||
package cn.iocoder.yudao.framework.ai.chatqianwen;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 千问 chat 模型
|
||||
*
|
||||
* 模型地址:https://help.aliyun.com/document_detail/2712576.html
|
||||
*
|
||||
* @author fansili
|
||||
* @time 2024/4/26 10:15
|
||||
* @since 1.0
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum QianWenChatModal {
|
||||
|
||||
qwen_turbo("通义千问超大规模语言模型", "qwen-turbo"),
|
||||
qwen_plus("通义千问超大规模语言模型增强版", "qwen-plus"),
|
||||
qwen_max("通义千问千亿级别超大规模语言模型", "qwen-max"),
|
||||
qwen_max_0403("通义千问千亿级别超大规模语言模型-0403", "qwen-max-0403"),
|
||||
qwen_max_0107("通义千问千亿级别超大规模语言模型-0107", "qwen-max-0107"),
|
||||
qwen_max_1201("通义千问千亿级别超大规模语言模型-1201", "qwen-max-1201"),
|
||||
qwen_max_longcontext("通义千问千亿级别超大规模语言模型-28k tokens", "qwen-max-longcontext"),
|
||||
|
||||
;
|
||||
|
||||
private String name;
|
||||
|
||||
private String value;
|
||||
|
||||
}
|
@ -3,6 +3,8 @@
|
||||
*
|
||||
* 链接:https://www.aliyun.com/search?k=%E9%80%9A%E4%B9%89%E5%A4%A7%E6%A8%A1%E5%9E%8B&scene=all
|
||||
*
|
||||
* 千问所有模型:https://bailian.console.aliyun.com/?spm=5176.28515448.J_TC9GqcHi2edq9zUs9ZsDQ.1.417338b17zJTjy#/efm/my_model
|
||||
*
|
||||
* author: fansili
|
||||
* time: 2024/3/13 21:05
|
||||
*/
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cn.iocoder.yudao.framework.ai.chatyiyan;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
@ -11,6 +12,7 @@ import lombok.Getter;
|
||||
* time: 2024/3/9 12:01
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum YiYanChatModel {
|
||||
|
||||
ERNIE4_0("ERNIE 4.0", "/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions_pro"),
|
||||
@ -23,11 +25,6 @@ public enum YiYanChatModel {
|
||||
|
||||
;
|
||||
|
||||
YiYanChatModel(String value, String uri) {
|
||||
this.value = value;
|
||||
this.uri = uri;
|
||||
}
|
||||
|
||||
private String value;
|
||||
|
||||
private String uri;
|
||||
|
Loading…
Reference in New Issue
Block a user