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!