From cfbddbd52f8c4d35b06c8b7e7e68b6cf22ce400a Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 04 八月 2026 13:12:02 +0800
Subject: [PATCH] feat(mes): 支持工艺流程工序产出产品多选功能
---
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java | 188 ++++++----------------------------------------
1 files changed, 25 insertions(+), 163 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..2a26300 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
@@ -5,182 +5,44 @@
/**
* 鑺嬮亾 AI 閰嶇疆绫�
- *
- * @author fansili
- * @since 1.0
*/
@ConfigurationProperties(prefix = "yudao.ai")
@Data
public class YudaoAiProperties {
- /**
- * 璋锋瓕 Gemini
- */
- private Gemini gemini;
-
- /**
- * 瀛楄妭璞嗗寘
- */
- private DouBao doubao;
-
- /**
- * 鑵捐娣峰厓
- */
- private HunYuan hunyuan;
-
- /**
- * 纭呭熀娴佸姩
- */
- private SiliconFlow siliconflow;
-
- /**
- * 璁鏄熺伀
- */
- private XingHuo xinghuo;
-
- /**
- * 鐧惧窛
- */
- private BaiChuan baichuan;
-
- /**
- * Midjourney 缁樺浘
- */
- private Midjourney midjourney;
-
- /**
- * Suno 闊充箰
- */
- @SuppressWarnings("SpellCheckingInspection")
- private Suno suno;
-
- /**
- * 缃戠粶鎼滅储
- */
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 {
-
- private String enable;
- private String apiKey;
-
- private String model;
- private Double temperature;
- private Integer maxTokens;
- private Double topP;
-
- }
-
- @Data
- public static class HunYuan {
-
- 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 SiliconFlow {
-
- private String enable;
- private String apiKey;
-
- private String model;
- private Double temperature;
- private Integer maxTokens;
- private Double topP;
-
- }
-
- @Data
- public static class XingHuo {
-
- private String enable;
- private String appId;
- private String appKey;
- private String secretKey;
-
- private String model;
- private Double temperature;
- private Integer maxTokens;
- private Double topP;
-
- }
-
- @Data
- 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 Midjourney {
-
- private String enable;
- private String baseUrl;
-
- private String apiKey;
- private String notifyUrl;
-
- }
-
- @Data
- public static class Suno {
-
- private boolean enable;
-
- private String baseUrl;
-
- }
-
- @Data
- public static class Grok {
-
- private String enable;
- private String apiKey;
- private String baseUrl;
-
- private String model;
- private Double temperature;
- private Integer maxTokens;
- private Double topP;
-
- }
+ /** 鍚戦噺搴撻厤缃� */
+ private VectorStore vectorStore = new VectorStore();
@Data
public static class WebSearch {
-
private boolean enable;
-
private String apiKey;
+ }
+ @Data
+ public static class VectorStore {
+
+ /** 鍚戦噺搴撶被鍨嬶細milvus */
+ private String type = "milvus";
+
+ /** Milvus 閰嶇疆 */
+ private Milvus milvus = new Milvus();
+
+ @Data
+ public static class Milvus {
+ /** 鏄惁鍒濆鍖� Schema */
+ private boolean initializeSchema = true;
+ /** 鏁版嵁搴撳悕绉� */
+ private String databaseName = "default";
+ /** 闆嗗悎鍚嶇О */
+ private String collectionName = "knowledge_segment";
+ /** 涓绘満鍦板潃 */
+ private String host = "127.0.0.1";
+ /** 绔彛 */
+ private int port = 19530;
+ }
}
}
--
Gitblit v1.9.3