参考完成RAG技术

This commit is contained in:
spllzh
2025-08-05 11:37:05 +08:00
parent ee95df10bd
commit bdb78caf59
10 changed files with 279 additions and 8 deletions

24
pom.xml
View File

@@ -92,12 +92,26 @@
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- RAG 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-easy-rag</artifactId>
<version>1.0.1-beta6</version>
</dependency>
<!-- PDF 解析器 -->
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-document-parser-apache-pdfbox</artifactId>
<version>1.0.1-beta6</version>
</dependency>
<!-- Redis 向量数据库操作 -->
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-community-redis-spring-boot-starter</artifactId>
<version>1.0.1-beta6</version>
</dependency>
</dependencies>