From d65c665b483f9c7b57358d4ad2c4bf3c6e1f9608 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 07 八月 2026 17:28:11 +0800
Subject: [PATCH] chore(author): 将作者信息从芋道源码更新为超级管理员

---
 yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java |  190 ++++++-----------------------------------------
 1 files changed, 26 insertions(+), 164 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..dbef978 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
@@ -4,183 +4,45 @@
 import org.springframework.boot.context.properties.ConfigurationProperties;
 
 /**
- * 鑺嬮亾 AI 閰嶇疆绫�
- *
- * @author fansili
- * @since 1.0
+ * 瓒呯骇绠$悊鍛� AI 閰嶇疆绫�
  */
 @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