RAG

•
4
•

Implements a Python-based server for Retrieval-Augmented Generation (RAG) workflows, managing context, tool invocation, and model output for clients like Claude Desktop.

This project implements a LangChain-powered Retrieval-Augmented Generation (RAG) pipeline hosted as a FastMCP server, specifically designed for seamless integration with Claude Desktop. It leverages `langchain_chroma` for persistent, domain-based vector stores, `langchain_huggingface` for local or Hugging Face embedding models, and `HuggingFaceCrossEncoder` for advanced reranking, enhancing document relevance. Each Chroma collection represents a distinct knowledge domain, allowing Claude queries to be routed to the appropriate collection to retrieve top-k results, providing relevant context and citations for domain-aware and citation-based responses.

主要功能

01PDF Embedding
02Smart Retrieval
031 GitHub stars
04Reranking Support
05Document Management
06Collection Management

使用案例

01Integrating advanced RAG capabilities with Claude Desktop
02Managing and querying knowledge bases across distinct domains
03Generating citation-based responses from retrieved documents