pom.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.ruoyi</groupId>
  8. <artifactId>ruoyi-modules-api</artifactId>
  9. <version>${revision}</version>
  10. <relativePath>../pom.xml</relativePath>
  11. </parent>
  12. <artifactId>ruoyi-chat-api</artifactId>
  13. <properties>
  14. <maven.compiler.source>17</maven.compiler.source>
  15. <maven.compiler.target>17</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18. <dependencyManagement>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.ai</groupId>
  22. <artifactId>spring-ai-bom</artifactId>
  23. <version>1.0.0-M6</version>
  24. <type>pom</type>
  25. <scope>import</scope>
  26. </dependency>
  27. </dependencies>
  28. </dependencyManagement>
  29. <!-- 对话基础模块 -->
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.ruoyi</groupId>
  33. <artifactId>ruoyi-common-chat</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.ai</groupId>
  37. <artifactId>spring-ai-mcp-client-spring-boot-starter</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.ai</groupId>
  41. <artifactId>spring-ai-mcp</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.ai</groupId>
  45. <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.ai</groupId>
  49. <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
  50. </dependency>
  51. </dependencies>
  52. </project>