pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>cn.iocoder.boot</groupId>
  7. <artifactId>yudao-module-ai</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yudao-spring-boot-starter-ai</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>AI 大模型拓展,接入国内外大模型</description>
  15. <properties>
  16. <spring-ai.version>1.0.0-M6</spring-ai.version>
  17. <tinyflow.version>1.0.2</tinyflow.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>cn.iocoder.boot</groupId>
  22. <artifactId>yudao-common</artifactId>
  23. </dependency>
  24. <!-- 业务组件 -->
  25. <dependency>
  26. <groupId>cn.iocoder.boot</groupId>
  27. <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
  28. </dependency>
  29. <!-- Web 相关 -->
  30. <dependency>
  31. <groupId>cn.iocoder.boot</groupId>
  32. <artifactId>yudao-spring-boot-starter-security</artifactId>
  33. </dependency>
  34. <!-- Spring AI Model 模型接入 -->
  35. <dependency>
  36. <groupId>org.springframework.ai</groupId>
  37. <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
  38. <version>${spring-ai.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.ai</groupId>
  42. <artifactId>spring-ai-azure-openai-spring-boot-starter</artifactId>
  43. <version>${spring-ai.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.ai</groupId>
  47. <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
  48. <version>${spring-ai.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.ai</groupId>
  52. <artifactId>spring-ai-stability-ai-spring-boot-starter</artifactId>
  53. <version>${spring-ai.version}</version>
  54. </dependency>
  55. <dependency>
  56. <!-- 通义千问 -->
  57. <groupId>com.alibaba.cloud.ai</groupId>
  58. <artifactId>spring-ai-alibaba-starter</artifactId>
  59. <version>${spring-ai.version}.1</version>
  60. </dependency>
  61. <dependency>
  62. <!-- 文心一言 -->
  63. <groupId>org.springframework.ai</groupId>
  64. <artifactId>spring-ai-qianfan-spring-boot-starter</artifactId>
  65. <version>${spring-ai.version}</version>
  66. </dependency>
  67. <dependency>
  68. <!-- 智谱 GLM -->
  69. <groupId>org.springframework.ai</groupId>
  70. <artifactId>spring-ai-zhipuai-spring-boot-starter</artifactId>
  71. <version>${spring-ai.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.ai</groupId>
  75. <artifactId>spring-ai-minimax-spring-boot-starter</artifactId>
  76. <version>${spring-ai.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.ai</groupId>
  80. <artifactId>spring-ai-moonshot-spring-boot-starter</artifactId>
  81. <version>${spring-ai.version}</version>
  82. </dependency>
  83. <!-- 向量存储:https://db-engines.com/en/ranking/vector+dbms -->
  84. <dependency>
  85. <!-- Qdrant:https://qdrant.tech/ -->
  86. <groupId>org.springframework.ai</groupId>
  87. <artifactId>spring-ai-qdrant-store</artifactId>
  88. <version>${spring-ai.version}</version>
  89. </dependency>
  90. <dependency>
  91. <!-- Redis:https://redis.io/docs/latest/develop/get-started/vector-database/ -->
  92. <groupId>org.springframework.ai</groupId>
  93. <artifactId>spring-ai-redis-store</artifactId>
  94. <version>${spring-ai.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>cn.iocoder.boot</groupId>
  98. <artifactId>yudao-spring-boot-starter-redis</artifactId>
  99. </dependency>
  100. <dependency>
  101. <!-- Milvus:https://milvus.io/ -->
  102. <groupId>org.springframework.ai</groupId>
  103. <artifactId>spring-ai-milvus-store</artifactId>
  104. <version>${spring-ai.version}</version>
  105. <exclusions>
  106. <!-- 解决和 logback 的日志冲突 -->
  107. <exclusion>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-reload4j</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <!-- Tika:负责内容的解析 -->
  115. <groupId>org.springframework.ai</groupId>
  116. <artifactId>spring-ai-tika-document-reader</artifactId>
  117. <version>${spring-ai.version}</version>
  118. <!-- TODO 芋艿:boot 项目里,不引入 cloud 依赖!!!另外,这样也是为了解决启动报错的问题! -->
  119. <exclusions>
  120. <exclusion>
  121. <artifactId>spring-cloud-function-context</artifactId>
  122. <groupId>org.springframework.cloud</groupId>
  123. </exclusion>
  124. <exclusion>
  125. <artifactId>spring-cloud-function-core</artifactId>
  126. <groupId>org.springframework.cloud</groupId>
  127. </exclusion>
  128. </exclusions>
  129. </dependency>
  130. <!-- TinyFlow:AI 工作流 -->
  131. <dependency>
  132. <groupId>dev.tinyflow</groupId>
  133. <artifactId>tinyflow-java-core</artifactId>
  134. <version>${tinyflow.version}</version>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>com.jfinal</groupId>
  138. <artifactId>enjoy</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <!-- 解决 https://gitee.com/zhijiantianya/ruoyi-vue-pro/pulls/1318/ 问题 -->
  142. <groupId>com.agentsflex</groupId>
  143. <artifactId>agents-flex-store-elasticsearch</artifactId>
  144. </exclusion>
  145. <exclusion>
  146. <!-- TODO @芋艿:暂时移除 groovy,和 iot 冲突 -->
  147. <groupId>org.codehaus.groovy</groupId>
  148. <artifactId>groovy-all</artifactId>
  149. </exclusion>
  150. <!-- 解决和 logback 的日志冲突 -->
  151. <exclusion>
  152. <groupId>org.slf4j</groupId>
  153. <artifactId>slf4j-simple</artifactId>
  154. </exclusion>
  155. <exclusion>
  156. <groupId>org.apache.logging.log4j</groupId>
  157. <artifactId>log4j-slf4j-impl</artifactId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>org.slf4j</groupId>
  161. <artifactId>slf4j-reload4j</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <!-- Test 测试相关 -->
  166. <dependency>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-starter-test</artifactId>
  169. <scope>test</scope>
  170. </dependency>
  171. </dependencies>
  172. </project>