diff --git a/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/AiClientNameEnum.java b/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/AiClientNameEnum.java index 13c06bdd3..9dc5149e7 100644 --- a/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/AiClientNameEnum.java +++ b/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/AiClientNameEnum.java @@ -17,7 +17,7 @@ import lombok.Getter; public enum AiClientNameEnum { QIAN_WEN("qianWen", "千问模型!"), - YI_YAN("yiYan", "一言模型!"), + YI_YAN_3_5_8K("yiYan3_5_8k", "文心一言(3.5-8k)"), XING_HUO("xingHuo", "星火模型!"), ; diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index fc3f358f1..87b40adb2 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -243,7 +243,7 @@ yudao: appKey: cb6415c19d6162cda07b47316fcb0416 secretKey: Y2JiYTIxZjA3MDMxMjNjZjQzYzVmNzdh chatModel: XING_HUO_3_5 - yiYan: + yiYan3_5_8k: aiPlatform: YI_YAN temperature: 1 topP: 1