langchain4j-rag-implementation-patterns

仓库创建 2025年10月21日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由

快速搭建文档问答与聊天检索管线,适合 Java 后端。

▸ 风险提示

依赖外部向量数据库与模型 API,需配置凭证和网络访问。

这个 Skill 做什么

提供基于 LangChain4j 的 RAG 实现:文档摄取、向量存储与语义检索。

给 Java 场景下用 LangChain4j 构建 RAG(检索增强生成)系统的实战方案,覆盖文档摄取管道、Embedding 存储、向量检索与语义搜索的实现模式。适合做文档问答、带来源引用的智能助手或把知识库接入聊天机器人的项目。着重提供工程化可复用的流水线和存储选择建议,便于扩展与落地。

▸ 展开 SKILL.md 英文原文

Provides Retrieval-Augmented Generation (RAG) implementation patterns with LangChain4j for Java. Generates document ingestion pipelines, embedding stores, vector search, and semantic search capabilities. Use when building chat-with-documents systems, document Q&A over PDFs or text files, AI assistants with knowledge bases, semantic search over document repositories, or knowledge-enhanced AI applications with source attribution.

开发编程RAGLangChain4j向量检索通用
311
Stars
37
Forks
40
仓库内 Skill
+10
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-java/skills/langchain4j-rag-implementation-patterns/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-java/skills/langchain4j-rag-implementation-patterns/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# LangChain4j RAG Implementation Patterns

## Overview

Implements RAG systems with LangChain4j: document ingestion pipelines, embedding stores, and vector search for chat-with-documents and knowledge-enhanced AI applications.

## When to Use This Skill

- Building chat-with-documents systems or document Q&A over PDFs, text files, or web pages
- Creating AI assistants with access to company knowledge bases or external sources
- Implementing semantic search or hybrid search over document repositories
- Building domain-specific AI with curated knowledge and source attribution

## Instructions

### Initialize RAG Project

Create a new Spring Boot project with required dependencies:

**pom.xml**
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有