pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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.0-rc.3</tinyflow.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>cn.iocoder.boot</groupId>
  22. <artifactId>yudao-common</artifactId>
  23. </dependency>
  24. <!-- Spring AI Model 模型接入 -->
  25. <dependency>
  26. <groupId>org.springframework.ai</groupId>
  27. <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
  28. <version>${spring-ai.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.ai</groupId>
  32. <artifactId>spring-ai-azure-openai-spring-boot-starter</artifactId>
  33. <version>${spring-ai.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.ai</groupId>
  37. <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
  38. <version>${spring-ai.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.ai</groupId>
  42. <artifactId>spring-ai-stability-ai-spring-boot-starter</artifactId>
  43. <version>${spring-ai.version}</version>
  44. </dependency>
  45. <dependency>
  46. <!-- 通义千问 -->
  47. <groupId>com.alibaba.cloud.ai</groupId>
  48. <artifactId>spring-ai-alibaba-starter</artifactId>
  49. <version>${spring-ai.version}.1</version>
  50. </dependency>
  51. <dependency>
  52. <!-- 文心一言 -->
  53. <groupId>org.springframework.ai</groupId>
  54. <artifactId>spring-ai-qianfan-spring-boot-starter</artifactId>
  55. <version>${spring-ai.version}</version>
  56. </dependency>
  57. <dependency>
  58. <!-- 智谱 GLM -->
  59. <groupId>org.springframework.ai</groupId>
  60. <artifactId>spring-ai-zhipuai-spring-boot-starter</artifactId>
  61. <version>${spring-ai.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.ai</groupId>
  65. <artifactId>spring-ai-minimax-spring-boot-starter</artifactId>
  66. <version>${spring-ai.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.ai</groupId>
  70. <artifactId>spring-ai-moonshot-spring-boot-starter</artifactId>
  71. <version>${spring-ai.version}</version>
  72. </dependency>
  73. <!-- 向量存储:https://db-engines.com/en/ranking/vector+dbms -->
  74. <dependency>
  75. <!-- Qdrant:https://qdrant.tech/ -->
  76. <groupId>org.springframework.ai</groupId>
  77. <artifactId>spring-ai-qdrant-store</artifactId>
  78. <version>${spring-ai.version}</version>
  79. </dependency>
  80. <dependency>
  81. <!-- Redis:https://redis.io/docs/latest/develop/get-started/vector-database/ -->
  82. <groupId>org.springframework.ai</groupId>
  83. <artifactId>spring-ai-redis-store</artifactId>
  84. <version>${spring-ai.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>cn.iocoder.boot</groupId>
  88. <artifactId>yudao-spring-boot-starter-redis</artifactId>
  89. </dependency>
  90. <dependency>
  91. <!-- Milvus:https://milvus.io/ -->
  92. <groupId>org.springframework.ai</groupId>
  93. <artifactId>spring-ai-milvus-store</artifactId>
  94. <version>${spring-ai.version}</version>
  95. </dependency>
  96. <dependency>
  97. <!-- Tika:负责内容的解析 -->
  98. <groupId>org.springframework.ai</groupId>
  99. <artifactId>spring-ai-tika-document-reader</artifactId>
  100. <version>${spring-ai.version}</version>
  101. <!-- TODO 芋艿:boot 项目里,不引入 cloud 依赖!!!另外,这样也是为了解决启动报错的问题! -->
  102. <exclusions>
  103. <exclusion>
  104. <artifactId>spring-cloud-function-context</artifactId>
  105. <groupId>org.springframework.cloud</groupId>
  106. </exclusion>
  107. <exclusion>
  108. <artifactId>spring-cloud-function-core</artifactId>
  109. <groupId>org.springframework.cloud</groupId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <!-- TinyFlow:AI 工作流 -->
  114. <dependency>
  115. <groupId>dev.tinyflow</groupId>
  116. <artifactId>tinyflow-java-core</artifactId>
  117. <version>${tinyflow.version}</version>
  118. </dependency>
  119. <!-- Test 测试相关 -->
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-starter-test</artifactId>
  123. <scope>test</scope>
  124. </dependency>
  125. </dependencies>
  126. </project>