RAG Application

•

Combines a Retrieval-Augmented Generation (RAG) system with the Model Context Protocol (MCP) to create a powerful, modular AI application.

This project establishes a modular AI application by seamlessly integrating a Retrieval-Augmented Generation (RAG) system with the Model Context Protocol (MCP). At its core, an MCP server (`rag_server.py`) makes sophisticated RAG capabilities for PDF documents and a practical weather tool accessible. A user-friendly Gradio client UI (`client_ui.py`) then orchestrates interactions using an LLM, dynamically invoking these tools to provide insightful and contextually relevant responses, making it ideal for building intelligent assistants that can query custom knowledge bases and real-time data.

Características Principales

01Retrieval-Augmented Generation (RAG) system for custom PDF document querying.
02Modular architecture leveraging Model Context Protocol (MCP) for tool exposure.
03Configurable LLM providers (Ollama, Google Gemini) for RAG and orchestration.
04Interactive web-based client UI (Gradio) for chatbot interaction.
05Includes a practical weather tool integration.
060 GitHub stars

Casos de Uso

01Building a custom AI chatbot that can answer questions based on private PDF documents.
02Integrating RAG capabilities and external tools into a modular AI system.
03Developing a multi-tool AI assistant capable of handling document queries and real-time information.