Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An intelligent Retrieval-Augmented Generation (RAG) chatbot that answers FAQs using domain-specific datasets. Built with Python, Qdrant Cloud, and Groq LLM, it demonstrates end-to-end RAG pipelines from embeddings to vector search to response generation.

License

Notifications You must be signed in to change notification settings

nv2105/QuickRAG-FAQ-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

πŸ€– QuickRAG - FAQ Bot

An intelligent Retrieval-Augmented Generation (RAG) chatbot for answering FAQs using domain-specific datasets. The bot indexes FAQs into Qdrant Cloud (vector DB) and retrieves relevant context to generate accurate answers with Groq LLM.

Built with modular Python code, this project demonstrates end-to-end RAG pipelines β€” from embeddings to vector search to response generation.


πŸ—οΈ Architecture

Architecture


πŸ“Š Key Features

  • πŸ”Ž Semantic Search: Retrieves relevant FAQ context from Qdrant Cloud
  • πŸ“‚ Domain-Specific Indexing: Import datasets (CSV/HuggingFace) and index easily
  • ⚑ Groq-powered LLM: Fast and concise answer generation
  • πŸ› οΈ Local & Cloud Support: Choose between in-memory DB (quick test) or Qdrant Cloud
  • πŸ–₯️ Notebook Demo: End-to-end workflow in Jupyter Notebook
  • πŸ“Έ Screenshots included for quick visualization

🧰 Tech Stack

  • Python 🐍
  • SentenceTransformers (MiniLM embeddings)
  • Qdrant Cloud (vector DB)
  • Groq API (answer generation)
  • Pandas, NumPy
  • Jupyter Notebook for demo

πŸ“· Screenshots

Indexing Data Query Answering Multi-Query Demo
Indexing Single Query Multi Query

All screenshots are stored in the assets/ folder.


πŸš€ Run Locally

1. Clone the repository

git clone https://github.com/nv2105/QuickRAG-FAQ-Bot.git
cd QuickRAG-FAQ-Bot

2. Install dependencies

pip install -r requirements.txt

3. Add API Keys

Create a .env file in the project root:

QDRANT_URL=your_qdrant_cluster_url
QDRANT_API_KEY=your_qdrant_api_key
GROQ_API_KEY=your_groq_api_key # optional but recommended

4. Run the notebook demo

jupyter notebook QuickRAG_Demo.ipynb

πŸ“ Project Structure

QuickRAG-FAQ-Bot/
│── assets/ # Screenshots & diagrams
│── data/ # FAQ CSV datasets
│── src/
β”‚ β”œβ”€β”€ rag.py # Main RAG pipeline
β”‚ β”œβ”€β”€ embeddings.py # Embedding generator
β”‚ β”œβ”€β”€ db_qdrant.py # Qdrant Cloud integration
β”‚ β”œβ”€β”€ db_local.py # In-memory DB (testing)
β”‚ β”œβ”€β”€ load_data.py # Indexing script
β”‚ β”œβ”€β”€ config.py # Env key loader
β”‚ └── __init__.py
│── QuickRAG_Demo.ipynb # Jupyter Notebook demo
│── requirements.txt
│── README.md

πŸ‘¨β€πŸ’» Author

Naman Vora

Final Year CSE Student | Aspiring Data Analyst πŸ“« LinkedInβ†— β€’ GitHubβ†—

πŸ“„ License

This project is open source and available under the MIT License.β†—

About

An intelligent Retrieval-Augmented Generation (RAG) chatbot that answers FAQs using domain-specific datasets. Built with Python, Qdrant Cloud, and Groq LLM, it demonstrates end-to-end RAG pipelines from embeddings to vector search to response generation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /