From 980df20752f031460301cc1697a22757239a1ac9 Mon Sep 17 00:00:00 2001 From: ageerle <ageerle@163.com> Date: 星期四, 08 五月 2025 16:09:02 +0800 Subject: [PATCH] feat: 支持milvus、qdrant向量库 --- ruoyi-modules-api/ruoyi-knowledge-api/pom.xml | 37 +++++++++++++++++++++++-------------- 1 files changed, 23 insertions(+), 14 deletions(-) diff --git a/ruoyi-modules-api/ruoyi-knowledge-api/pom.xml b/ruoyi-modules-api/ruoyi-knowledge-api/pom.xml index 8d7d396..f6412e1 100644 --- a/ruoyi-modules-api/ruoyi-knowledge-api/pom.xml +++ b/ruoyi-modules-api/ruoyi-knowledge-api/pom.xml @@ -47,20 +47,6 @@ <version>1.0.79</version> </dependency> - <!-- milvus java sdk --> -<!-- <dependency>--> -<!-- <groupId>io.milvus</groupId>--> -<!-- <artifactId>milvus-sdk-java</artifactId>--> -<!-- <version>2.3.2</version>--> -<!-- </dependency>--> - -<!-- <dependency>--> -<!-- <groupId>io.weaviate</groupId>--> -<!-- <artifactId>client</artifactId>--> -<!-- <version>4.0.0</version>--> -<!-- </dependency>--> - - <dependency> <groupId>dev.langchain4j</groupId> <artifactId>langchain4j</artifactId> @@ -94,6 +80,29 @@ <artifactId>langchain4j-ollama</artifactId> </dependency> + <dependency> + <groupId>dev.langchain4j</groupId> + <artifactId>langchain4j-milvus</artifactId> + </dependency> + + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>milvus</artifactId> + <version>1.19.6</version> + </dependency> + + + <dependency> + <groupId>dev.langchain4j</groupId> + <artifactId>langchain4j-qdrant</artifactId> + </dependency> + + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>qdrant</artifactId> + <version>1.19.6</version> + </dependency> + </dependencies> </project> -- Gitblit v1.9.3