pom.xml 5.4 KB

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