大语言模型
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. <artifactId>ruoyi</artifactId>
  7. <groupId>com.ruoyi</groupId>
  8. <version>3.8.9</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>cmc-agent</artifactId>
  13. <description>
  14. cmc智能体
  15. </description>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.ruoyi</groupId>
  19. <artifactId>ruoyi-framework</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.ruoyi</groupId>
  23. <artifactId>ruoyi-system</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.ruoyi</groupId>
  27. <artifactId>ruoyi-common</artifactId>
  28. </dependency>
  29. <!-- spring-boot-devtools -->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-devtools</artifactId>
  33. <optional>true</optional> <!-- 表示依赖不会传递 -->
  34. </dependency>
  35. <!-- 向量数据库-->
  36. <dependency>
  37. <groupId>io.milvus</groupId>
  38. <artifactId>milvus-sdk-java</artifactId>
  39. <version>2.3.3</version>
  40. </dependency>
  41. <!-- LangChain4j -->
  42. <dependency>
  43. <groupId>dev.langchain4j</groupId>
  44. <artifactId>langchain4j</artifactId>
  45. <version>0.35.0</version>
  46. </dependency>
  47. <!-- LangChain4j Milvus 集成 -->
  48. <dependency>
  49. <groupId>dev.langchain4j</groupId>
  50. <artifactId>langchain4j-milvus</artifactId>
  51. <version>0.35.0</version> <!-- 版本需与核心一致 -->
  52. </dependency>
  53. <!-- LangChain4j embedding 集成 -->
  54. <dependency>
  55. <groupId>dev.langchain4j</groupId>
  56. <artifactId>langchain4j-embeddings-bge-small-zh-v15</artifactId>
  57. <version>0.35.0</version>
  58. </dependency>
  59. <!-- 解析PDF -->
  60. <dependency>
  61. <groupId>org.apache.pdfbox</groupId>
  62. <artifactId>pdfbox</artifactId>
  63. <version>3.0.3</version>
  64. </dependency>
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-maven-plugin</artifactId>
  71. <version>2.5.15</version>
  72. <configuration>
  73. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <goals>
  78. <goal>repackage</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-war-plugin</artifactId>
  86. <version>3.1.0</version>
  87. <configuration>
  88. <failOnMissingWebXml>false</failOnMissingWebXml>
  89. <warName>${project.artifactId}</warName>
  90. </configuration>
  91. </plugin>
  92. </plugins>
  93. <finalName>${project.artifactId}</finalName>
  94. </build>
  95. </project>