RAG Application

by hulk-pham

1 stars
325 downloads
Not rated
GitHub

About

A demo of Retrieval-Augmented Generation (RAG) application with MCP server integration.

Details

Author
hulk-pham
GitHub stars
1
Downloads
325
Categories
Knowledge Base

- MCP server integration
- Document retrieval using vector search with ChromaDB
- Context-aware prompt generation
- Integration with LLM APIs

Install dependencies with pip install -r requirements.txt, set the OPENAI_API_KEY in a .env file, then connect the MCP server via Claude Desktop, Cursor, or another compatible IDE. Use the process_query tool to ask questions about the company.

RAG Application

A demo of Retrieval-Augmented Generation (RAG) application with MCP server integration.

Screenshot

Features

- MCP server integration - Document retrieval using vector search with ChromaDB - Context-aware prompt generation - Integration with LLM APIs

Installation

pip install -r requirements.txt

Usage

Connect to the MCP server with Claude Desktop, Cursor, or your preferred IDE.

Use the process_query tool to ask questions about the company.

Configuration

Set up your environment variables in .env:
OPENAI_API_KEY=your_api_key

Project Structure

app/retrieval.py: Document retrieval functionality app/context.py: Context management app/llm_client.py: LLM API integration app/prompt_builder.py: Prompt construction

License

MIT
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.