IntelliDoc AI is a fully local Retrieval-Augmented Generation (RAG) application that lets you upload PDF documents and ask intelligent questions about them using a locally running LLM.
Built with Streamlit + LangChain + Ollama + ChromaDB, it runs entirely on your machine — no external API calls required.
- 📄 Upload and chat with multiple PDF documents
- 🔎 Semantic search using vector embeddings
- 🤖 Local LLM inference via Ollama
- 🧠 Retrieval-Augmented Generation (RAG) pipeline
- 💬 Clean Streamlit chat interface
- 💾 Persistent vector store (ChromaDB)
- Frontend: Streamlit
- LLM: Ollama (Qwen2.5 / Mistral supported)
- Embeddings: FastEmbed
- Vector Database: ChromaDB
- Framework: LangChain
git clone https://github.com/your-username/intellidoc-ai.git
cd intellidoc-aipython -m venv venvActivate:
Mac/Linux
source venv/bin/activateWindows
venv\Scripts\activatepip install -r requirements.txtDownload from:
Pull a model:
ollama pull qwen2.5(Optional alternative)
ollama pull mistralEnsure Ollama is running in the background.
streamlit run app.pyOpen in browser:
http://localhost:8501
- Upload a PDF
- Text is split into chunks
- Chunks are embedded using FastEmbed
- Stored in ChromaDB
- User query retrieves relevant chunks
- Context + Question → LLM → Final Answer
.
├── app.py
├── rag.py
├── requirements.txt
├── chroma_db/
└── README.md
- No API costs
- Full data privacy
- Works offline
- Fully customizable
- Ideal for experimentation & research
- DOCX / TXT support
- Hybrid retrieval (BM25 + embeddings)
- Streaming responses
- Cloud deployment
- Authentication support
Ashutosh Zawar
MS Computer Science
AI/ML • Backend • Cloud • RAG Systems
⭐ If you found this useful, consider giving it a star!