pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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>byzs-bjdx</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>byzs-module-ai</artifactId>
  13. <name>${project.artifactId}</name>
  14. <description>
  15. ai 模块下,接入 LLM 大模型,支持聊天、绘图、音乐、写作、思维导图等功能。
  16. 目前已接入各种模型,不限于:
  17. 国内:通义千问、文心一言、讯飞星火、智谱 GLM、DeepSeek
  18. 国外:OpenAI、Ollama、Midjourney、StableDiffusion、Suno
  19. </description>
  20. <properties>
  21. <spring-ai.version>1.0.0-M6</spring-ai.version>
  22. <tinyflow.version>1.0.2</tinyflow.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>cn.iocoder.boot</groupId>
  27. <artifactId>byzs-module-system</artifactId>
  28. <version>${revision}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>cn.iocoder.boot</groupId>
  32. <artifactId>byzs-module-infra</artifactId>
  33. <version>${revision}</version>
  34. </dependency>
  35. <!-- 业务组件 -->
  36. <dependency>
  37. <groupId>cn.iocoder.boot</groupId>
  38. <artifactId>byzs-spring-boot-starter-biz-tenant</artifactId>
  39. </dependency>
  40. <!-- Web 相关 -->
  41. <dependency>
  42. <groupId>cn.iocoder.boot</groupId>
  43. <artifactId>byzs-spring-boot-starter-security</artifactId>
  44. </dependency>
  45. <!-- DB 相关 -->
  46. <dependency>
  47. <groupId>cn.iocoder.boot</groupId>
  48. <artifactId>byzs-spring-boot-starter-mybatis</artifactId>
  49. </dependency>
  50. <!-- Job 相关 -->
  51. <dependency>
  52. <groupId>cn.iocoder.boot</groupId>
  53. <artifactId>byzs-spring-boot-starter-job</artifactId>
  54. </dependency>
  55. <!-- Test 测试相关 -->
  56. <dependency>
  57. <groupId>cn.iocoder.boot</groupId>
  58. <artifactId>byzs-spring-boot-starter-test</artifactId>
  59. </dependency>
  60. <!-- 工具类相关 -->
  61. <dependency>
  62. <groupId>cn.iocoder.boot</groupId>
  63. <artifactId>byzs-spring-boot-starter-excel</artifactId>
  64. </dependency>
  65. <!-- Spring AI Model 模型接入 -->
  66. <dependency>
  67. <groupId>org.springframework.ai</groupId>
  68. <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
  69. <version>${spring-ai.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.ai</groupId>
  73. <artifactId>spring-ai-azure-openai-spring-boot-starter</artifactId>
  74. <version>${spring-ai.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.ai</groupId>
  78. <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
  79. <version>${spring-ai.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.ai</groupId>
  83. <artifactId>spring-ai-stability-ai-spring-boot-starter</artifactId>
  84. <version>${spring-ai.version}</version>
  85. </dependency>
  86. <dependency>
  87. <!-- 通义千问 -->
  88. <groupId>com.alibaba.cloud.ai</groupId>
  89. <artifactId>spring-ai-alibaba-starter</artifactId>
  90. <version>${spring-ai.version}.1</version>
  91. </dependency>
  92. <dependency>
  93. <!-- 文心一言 -->
  94. <groupId>org.springframework.ai</groupId>
  95. <artifactId>spring-ai-qianfan-spring-boot-starter</artifactId>
  96. <version>${spring-ai.version}</version>
  97. </dependency>
  98. <dependency>
  99. <!-- 智谱 GLM -->
  100. <groupId>org.springframework.ai</groupId>
  101. <artifactId>spring-ai-zhipuai-spring-boot-starter</artifactId>
  102. <version>${spring-ai.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.ai</groupId>
  106. <artifactId>spring-ai-minimax-spring-boot-starter</artifactId>
  107. <version>${spring-ai.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.ai</groupId>
  111. <artifactId>spring-ai-moonshot-spring-boot-starter</artifactId>
  112. <version>${spring-ai.version}</version>
  113. </dependency>
  114. <!-- 豆包 -->
  115. <!-- 火山引擎豆包 SDK -->
  116. <dependency>
  117. <groupId>com.volcengine</groupId>
  118. <artifactId>volcengine-java-sdk-ark-runtime</artifactId>
  119. <version>LATEST</version>
  120. </dependency>
  121. <!-- <dependency>-->
  122. <!-- <groupId>com.volcengine</groupId>-->
  123. <!-- <artifactId>volcengine-java-sdk-core</artifactId>-->
  124. <!-- <version>1.0.5</version>-->
  125. <!-- </dependency>-->
  126. <!-- 向量存储:https://db-engines.com/en/ranking/vector+dbms -->
  127. <dependency>
  128. <!-- Qdrant:https://qdrant.tech/ -->
  129. <groupId>org.springframework.ai</groupId>
  130. <artifactId>spring-ai-qdrant-store</artifactId>
  131. <version>${spring-ai.version}</version>
  132. </dependency>
  133. <dependency>
  134. <!-- Redis:https://redis.io/docs/latest/develop/get-started/vector-database/ -->
  135. <groupId>org.springframework.ai</groupId>
  136. <artifactId>spring-ai-redis-store</artifactId>
  137. <version>${spring-ai.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>cn.iocoder.boot</groupId>
  141. <artifactId>byzs-spring-boot-starter-redis</artifactId>
  142. </dependency>
  143. <dependency>
  144. <!-- Milvus:https://milvus.io/ -->
  145. <groupId>org.springframework.ai</groupId>
  146. <artifactId>spring-ai-milvus-store</artifactId>
  147. <version>${spring-ai.version}</version>
  148. <exclusions>
  149. <!-- 解决和 logback 的日志冲突 -->
  150. <exclusion>
  151. <groupId>org.slf4j</groupId>
  152. <artifactId>slf4j-reload4j</artifactId>
  153. </exclusion>
  154. </exclusions>
  155. </dependency>
  156. <dependency>
  157. <!-- Tika:负责内容的解析 -->
  158. <groupId>org.springframework.ai</groupId>
  159. <artifactId>spring-ai-tika-document-reader</artifactId>
  160. <version>${spring-ai.version}</version>
  161. <!-- TODO lyb:boot 项目里,不引入 cloud 依赖!!!另外,这样也是为了解决启动报错的问题! -->
  162. <exclusions>
  163. <exclusion>
  164. <artifactId>spring-cloud-function-context</artifactId>
  165. <groupId>org.springframework.cloud</groupId>
  166. </exclusion>
  167. <exclusion>
  168. <artifactId>spring-cloud-function-core</artifactId>
  169. <groupId>org.springframework.cloud</groupId>
  170. </exclusion>
  171. </exclusions>
  172. </dependency>
  173. <!-- TinyFlow:AI 工作流 -->
  174. <dependency>
  175. <groupId>dev.tinyflow</groupId>
  176. <artifactId>tinyflow-java-core</artifactId>
  177. <version>${tinyflow.version}</version>
  178. <exclusions>
  179. <exclusion>
  180. <groupId>com.jfinal</groupId>
  181. <artifactId>enjoy</artifactId>
  182. </exclusion>
  183. <exclusion>
  184. <!-- 解决 https://gitee.com/zhijiantianya/ruoyi-vue-pro/pulls/1318/ 问题 -->
  185. <groupId>com.agentsflex</groupId>
  186. <artifactId>agents-flex-store-elasticsearch</artifactId>
  187. </exclusion>
  188. <exclusion>
  189. <!-- TODO @lyb:暂时移除 groovy,和 iot 冲突 -->
  190. <groupId>org.codehaus.groovy</groupId>
  191. <artifactId>groovy-all</artifactId>
  192. </exclusion>
  193. <!-- 解决和 logback 的日志冲突 -->
  194. <exclusion>
  195. <groupId>org.slf4j</groupId>
  196. <artifactId>slf4j-simple</artifactId>
  197. </exclusion>
  198. <exclusion>
  199. <groupId>org.apache.logging.log4j</groupId>
  200. <artifactId>log4j-slf4j-impl</artifactId>
  201. </exclusion>
  202. <exclusion>
  203. <groupId>org.slf4j</groupId>
  204. <artifactId>slf4j-reload4j</artifactId>
  205. </exclusion>
  206. </exclusions>
  207. </dependency>
  208. <!-- 阿里云 - 文本转语音 -->
  209. <dependency>
  210. <groupId>com.alibaba.nls</groupId>
  211. <artifactId>nls-sdk-tts</artifactId>
  212. <version>2.2.14</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>com.alibaba.nls</groupId>
  216. <artifactId>nls-sdk-common</artifactId>
  217. <version>2.2.14</version>
  218. </dependency>
  219. </dependencies>
  220. </project>