Skip to content

deekshith-8/docmind-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 DocMind AI β€” RAG Document Q&A

An AI-powered document question-answering app built with Retrieval-Augmented Generation (RAG).

Upload any PDF and ask natural language questions β€” the app finds the most relevant sections and answers using LLaMA 3.3.

πŸš€ Live Demo

πŸ‘‰ Try it here

πŸ› οΈ Tech Stack

  • LangChain β€” RAG pipeline orchestration
  • FAISS β€” Vector database for semantic search
  • Groq (LLaMA 3.3 70B) β€” LLM for answer generation
  • HuggingFace Embeddings β€” Local text embeddings (all-MiniLM-L6-v2)
  • Streamlit β€” Frontend UI
  • PyMuPDF β€” PDF text extraction

βš™οΈ How It Works

  1. Upload a PDF β†’ text is extracted using PyMuPDF
  2. Text is split into 300-character chunks with 80-character overlap
  3. Chunks are embedded and stored in a FAISS vector index
  4. User asks a question β†’ top 6 relevant chunks are retrieved
  5. Chunks + question are sent to LLaMA 3.3 via Groq API
  6. Answer is displayed with source chunks for transparency

πŸ”§ Run Locally

git clone https://github.com/deekshith-8/rag-doc-qa.git
cd rag-doc-qa
pip install -r requirements.txt

Create a .env file: Run the app:

streamlit run app.py

πŸ‘€ Built by

Deekshith Gowda β€” LinkedIn Β· GitHub

About

AI-powered PDF question answering using RAG, LangChain, FAISS and LLaMA 3.3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages