From 24681c81c09022f584a57006f2534b5f74723414 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 30 六月 2026 09:27:31 +0800
Subject: [PATCH] 初始化项目
---
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java | 122 +++++++++++++++++++++++++++++++++-------
1 files changed, 101 insertions(+), 21 deletions(-)
diff --git a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java
index 986c24c..234fa2c 100644
--- a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java
+++ b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java
@@ -14,11 +14,6 @@
public class YudaoAiProperties {
/**
- * 璋锋瓕 Gemini
- */
- private Gemini gemini;
-
- /**
* 瀛楄妭璞嗗寘
*/
private DouBao doubao;
@@ -44,6 +39,36 @@
private BaiChuan baichuan;
/**
+ * 鏂囧績涓�瑷�
+ */
+ private YiYan yiyan;
+
+ /**
+ * 鏅鸿氨
+ */
+ private ZhiPu zhipu;
+
+ /**
+ * MiniMax
+ */
+ private MiniMax minimax;
+
+ /**
+ * 鏈堜箣鏆楅潰
+ */
+ private Moonshot moonshot;
+
+ /**
+ * 闃惰穬鏄熻景
+ */
+ private StepFun stepfun;
+
+ /**
+ * Grok
+ */
+ private Grok grok;
+
+ /**
* Midjourney 缁樺浘
*/
private Midjourney midjourney;
@@ -58,19 +83,6 @@
* 缃戠粶鎼滅储
*/
private WebSearch webSearch;
-
- @Data
- public static class Gemini {
-
- private String enable;
- private String apiKey;
-
- private String model;
- private Double temperature;
- private Integer maxTokens;
- private Double topP;
-
- }
@Data
public static class DouBao {
@@ -116,9 +128,7 @@
public static class XingHuo {
private String enable;
- private String appId;
- private String appKey;
- private String secretKey;
+ private String apiKey;
private String model;
private Double temperature;
@@ -131,6 +141,62 @@
public static class BaiChuan {
private String enable;
+ private String apiKey;
+
+ private String model;
+ private Double temperature;
+ private Integer maxTokens;
+ private Double topP;
+
+ }
+
+ @Data
+ public static class YiYan {
+
+ private String enable;
+ private String baseUrl;
+ private String apiKey;
+
+ private String model;
+ private Double temperature;
+ private Integer maxTokens;
+ private Double topP;
+
+ }
+
+ @Data
+ public static class ZhiPu {
+
+ private String enable;
+ private String baseUrl;
+ private String apiKey;
+
+ private String model;
+ private Double temperature;
+ private Integer maxTokens;
+ private Double topP;
+
+ }
+
+ @Data
+ public static class MiniMax {
+
+ private String enable;
+ private String baseUrl;
+ private String apiKey;
+
+ private String model;
+ private Double temperature;
+ private Integer maxTokens;
+ private Double topP;
+
+ }
+
+ @Data
+ public static class Moonshot {
+
+ private String enable;
+ private String baseUrl;
private String apiKey;
private String model;
@@ -175,6 +241,20 @@
}
@Data
+ public static class StepFun {
+
+ private String enable;
+ private String apiKey;
+ private String baseUrl;
+
+ private String model;
+ private Double temperature;
+ private Integer maxTokens;
+ private Double topP;
+
+ }
+
+ @Data
public static class WebSearch {
private boolean enable;
--
Gitblit v1.9.3