| | |
| | | </description> |
| | | <properties> |
| | | <spring-ai.version>2.0.0</spring-ai.version> |
| | | <!-- https://mvnrepository.com/artifact/com.alibaba.cloud.ai/spring-ai-alibaba --> |
| | | <alibaba-ai.version>2.0.0-M1.1</alibaba-ai.version> |
| | | <tinyflow.version>1.2.6</tinyflow.version> |
| | | </properties> |
| | | |
| | | <dependencies> |
| | |
| | | <artifactId>yudao-module-system</artifactId> |
| | | <version>${revision}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>cn.iocoder.boot</groupId> |
| | | <artifactId>yudao-module-infra</artifactId> |
| | | <version>${revision}</version> |
| | | </dependency> |
| | | |
| | | <!-- 业务组件 --> |
| | | |
| | | <dependency> |
| | |
| | | <artifactId>yudao-spring-boot-starter-mybatis</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- Job 相关 --> |
| | | <dependency> |
| | | <groupId>cn.iocoder.boot</groupId> |
| | | <artifactId>yudao-spring-boot-starter-job</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- Test 测试相关 --> |
| | | <dependency> |
| | | <groupId>cn.iocoder.boot</groupId> |
| | | <artifactId>yudao-spring-boot-starter-test</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- 工具类相关 --> |
| | | <dependency> |
| | | <groupId>cn.iocoder.boot</groupId> |
| | | <artifactId>yudao-spring-boot-starter-excel</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- Spring AI Model 模型接入 --> |
| | | <!-- Spring AI 模型接入:统一走 OpenAI 兼容接口(DeepSeek/通义千问等) --> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-model-openai</artifactId> |
| | |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-model-anthropic</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-model-deepseek</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-model-google-genai</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-model-ollama</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-model-stability-ai</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <!-- 向量存储:https://db-engines.com/en/ranking/vector+dbms --> |
| | | <dependency> |
| | | <!-- Qdrant:https://qdrant.tech/ --> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-vector-store-qdrant</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <!-- Redis:https://redis.io/docs/latest/develop/get-started/vector-database/ --> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-vector-store-redis</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>cn.iocoder.boot</groupId> |
| | | <artifactId>yudao-spring-boot-starter-redis</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- Milvus 向量存储 --> |
| | | <dependency> |
| | | <!-- Milvus:https://milvus.io/ --> |
| | | <groupId>org.springframework.ai</groupId> |
| | |
| | | <version>5.4.0</version> |
| | | </dependency> |
| | | |
| | | <!-- MCP 相关 --> |
| | | <!-- |
| | | 特殊说明:不能使用 spring-ai-starter-mcp-server-webflux 或 spring-ai-starter-mcp-client-webflux !!! |
| | | 原因:项目使用了 SpringMVC,而不是 WebFlux。引入上述 2 个,会导致 SSE Server 失效。 |
| | | --> |
| | | <dependency> |
| | | <!-- 服务端 --> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-mcp-server-webmvc</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>io.swagger.core.v3</groupId> |
| | | <artifactId>swagger-annotations-jakarta</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-autoconfigure-mcp-server-common</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <!-- 客户端 --> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-starter-mcp-client</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.ai</groupId> |
| | | <artifactId>spring-ai-autoconfigure-mcp-client-common</artifactId> |
| | | <version>${spring-ai.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- TinyFlow:AI 工作流 --> |
| | | <dependency> |
| | | <groupId>dev.tinyflow</groupId> |
| | | <artifactId>tinyflow-java-core</artifactId> |
| | | <version>${tinyflow.version}</version> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>com.jfinal</groupId> |
| | | <artifactId>enjoy</artifactId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <!-- 解决 https://gitee.com/zhijiantianya/ruoyi-vue-pro/pulls/1318/ 问题 --> |
| | | <groupId>com.agentsflex</groupId> |
| | | <artifactId>agents-flex-store-elasticsearch</artifactId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <!-- 解决 https://t.zsxq.com/pCBZC 问题 --> |
| | | <groupId>com.agentsflex</groupId> |
| | | <artifactId>agents-flex-search-engine-es</artifactId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <!-- TODO @芋艿:暂时移除 groovy,和 iot 冲突 --> |
| | | <groupId>org.codehaus.groovy</groupId> |
| | | <artifactId>groovy-all</artifactId> |
| | | </exclusion> |
| | | <!-- 解决和 logback 的日志冲突 --> |
| | | <exclusion> |
| | | <groupId>org.slf4j</groupId> |
| | | <artifactId>slf4j-simple</artifactId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <groupId>org.apache.logging.log4j</groupId> |
| | | <artifactId>log4j-slf4j-impl</artifactId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <groupId>org.slf4j</groupId> |
| | | <artifactId>slf4j-reload4j</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | </project> |