100% offline ยท No API keys ยท Privacy-first
DocMind lets you chat with your documents (PDF, DOCX, TXT) using a local AI model. Everything runs on your machine โ no cloud, no data leaving your computer.
- โ 100% Local โ No API keys, no internet required after setup
- โ Multi-format โ Upload PDF, DOCX, or TXT files
- โ Smart RAG โ Retrieves relevant chunks from your documents
- โ Conversation Memory โ Remembers last 5 exchanges
- โ Source Citations โ See exactly where answers come from
- โ Streaming Response โ Typewriter effect for natural feel
- โ Persistent Storage โ Documents stay indexed across sessions
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ Streamlit โโโโโโถโ Chroma DB โโโโโโโ Documents โ โ UI โ โ (Vectors) โ โ (PDF/DOCX/TXT) โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ โ โ โผ โผ โผ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ FLAN-T5 โโโโโโโ Sentence- โโโโโโถโ Chunking & โ โ (LLM) โ โ Transformers โ โ Embedding โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
- Python 3.9+
- 8GB RAM (4GB minimum, slower)
- 3GB free disk space (for models)
git clone https://github.com/muneebulrehman14/DocMind-Local-Chatbot.git
cd DocMind-Local-Chatbot
**2. Create virtual environment**
python -m venv venv
source venv/bin/activate # Linux/Mac
# venv\Scripts\activate # Windows
** 3. Install dependencies**
pip install -r requirements.txt
**Run the app
streamlit run app.py**
**๐ฎ Usage Guide**
Upload Documents
Click sidebar expander
Drag & drop PDF/DOCX/TXT files
Wait for "โ
Indexed" message
Ask Questions
Type in chat input at bottom
Bot searches relevant chunks
Answer appears with source citations
Manage Sessions
Clear Chat โ Removes conversation history
Reset All โ Deletes all documents and starts fresh