RAG‑Application is a Retrieval-Augmented Generation (RAG) demo powered by LangChain, designed to help you build a robust end-to-end pipeline that:
- Ingests documents (e.g. PDFs, text)
- Splits them into searchable chunks
- Embeds chunks into a vector store (e.g. FAISS, Chroma)
- Serves queries by retrieving relevant chunks and augmenting an LLM prompt
- Generates accurate, context-aware responses
- Ingestion & Chunking: Convert PDFs/text into semantically meaningful vector chunks.
- Vector Store: Use FAISS, Chroma, or similar for fast similarity retrieval.
- Retriever: Fetch top‑K similar chunks given a query.
- LLM Prompting: Craft prompts that combine user query with retrieved context.
- Answer Generation: Output answers with citations or metadata attached.
git clone https://github.com/mehul-lll/RAG-Application.git
cd RAG-Application
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
fastapi dev app/main.py
streamlit run app.py