| | |
| | | - org.springframework.ai.vectorstore.redis.autoconfigure.RedisVectorStoreAutoConfiguration # 禁用 AI 模块的 Redis,手动创建 |
| | | - org.springframework.ai.vectorstore.milvus.autoconfigure.MilvusVectorStoreAutoConfiguration # 禁用 AI 模块的 Milvus,手动创建 |
| | | - org.dromara.trans.config.TransServiceConfig # TODO 芋艿:easy-trans 兼容 Spring Boot 4 后移除(TransServiceConfig 引用了已移除的 RestTemplateBuilder) |
| | | # TODO 芋艿:spring-ai-alibaba 2.0.0-M1.1 的 DashScope 自动配置暂不兼容 Spring AI 2.0.0 |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeChatAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAgentAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeImageAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeVideoAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAudioSpeechAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAudioTranscriptionAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeRerankAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeEmbeddingAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeMultimodalEmbeddingAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAsyncToolCallingManagerAutoConfiguration |
| | | # 禁用未配置 API Key 的模型自动配置(只保留通义千问 Embedding 的手动配置) |
| | | - org.springframework.ai.model.openai.autoconfigure.OpenAiChatAutoConfiguration |
| | | - org.springframework.ai.model.openai.autoconfigure.OpenAiEmbeddingAutoConfiguration |
| | | - org.springframework.ai.model.openai.autoconfigure.OpenAiImageAutoConfiguration |
| | | - org.springframework.ai.model.openai.autoconfigure.OpenAiAudioSpeechAutoConfiguration |
| | | - org.springframework.ai.model.openai.autoconfigure.OpenAiAudioTranscriptionAutoConfiguration |
| | | - org.springframework.ai.model.openai.autoconfigure.OpenAiModerationAutoConfiguration |
| | | - org.springframework.ai.model.deepseek.autoconfigure.DeepSeekChatAutoConfiguration |
| | | - org.springframework.ai.model.anthropic.autoconfigure.AnthropicChatAutoConfiguration |
| | | - org.springframework.ai.model.google.genai.autoconfigure.chat.GoogleGenAiChatAutoConfiguration |
| | | - org.springframework.ai.model.google.genai.autoconfigure.embedding.GoogleGenAiEmbeddingConnectionAutoConfiguration |
| | | - org.springframework.ai.model.google.genai.autoconfigure.embedding.GoogleGenAiTextEmbeddingAutoConfiguration |
| | | - org.springframework.ai.model.ollama.autoconfigure.OllamaApiAutoConfiguration |
| | | - org.springframework.ai.model.ollama.autoconfigure.OllamaChatAutoConfiguration |
| | | - org.springframework.ai.model.ollama.autoconfigure.OllamaEmbeddingAutoConfiguration |
| | | - org.springframework.ai.model.stabilityai.autoconfigure.StabilityAiImageAutoConfiguration |
| | | # 数据源配置项 |
| | | datasource: |
| | | druid: # Druid 【监控】相关的全局配置 |
| | |
| | | |
| | | debug: false |
| | | |
| | | yudao: |
| | | ai: |
| | | vector-store: |
| | | type: milvus # 向量库类型:milvus |
| | | milvus: |
| | | initialize-schema: true |
| | | database-name: test |
| | | collection-name: knowledge_segment_test |
| | | host: 36.213.180.217 |
| | | port: 19530 |
| | | |
| | | --- #################### 微信公众号、小程序相关配置 #################### |
| | | wx: |
| | | mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档 |
| | |
| | | wxa-subscribe-message: |
| | | miniprogram-state: developer # 跳转小程序类型:开发版为 “developer”;体验版为 “trial”为;正式版为 “formal” |
| | | tencent-lbs-key: TVDBZ-TDILD-4ON4B-PFDZA-RNLKH-VVF6E # QQ 地图的密钥 https://lbs.qq.com/service/staticV2/staticGuide/staticDoc |
| | | storage: # 文件上传配置 |
| | | path: /data/javaWork/mom/file # 文件存储根目录 |
| | | url-prefix: /admin-api/system/storage-blob # URL路径前缀 |
| | | domain: http://36.213.180.217:9500 # 域名前缀(按实际域名配置),前端配置好像不太对现在是直连后端,所有要后端端口 |
| | | expired: 120 # token过期时间(分钟) |
| | | use-limit: 10 # token使用次数上限 |
| | | jwt-secret: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG # JWT密钥 |
| | | compress: true # 是否压缩图片 |
| | | need-compress-size: 10MB # 触发压缩的文件大小阈值 |
| | | compress-quality: 0.5 # 压缩质量(0.0-1.0) |
| | | |
| | | justauth: |
| | | enabled: true |