Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  DocMind โ€” Local AI Document Chatbot

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.

Demo Python License

โœจ Features

  • โœ… 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

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Streamlit โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚ Chroma DB โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚ Documents โ”‚ โ”‚ UI โ”‚ โ”‚ (Vectors) โ”‚ โ”‚ (PDF/DOCX/TXT) โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ–ผ โ–ผ โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ FLAN-T5 โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚ Sentence- โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚ Chunking & โ”‚ โ”‚ (LLM) โ”‚ โ”‚ Transformers โ”‚ โ”‚ Embedding โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“‹ Requirements

  • Python 3.9+
  • 8GB RAM (4GB minimum, slower)
  • 3GB free disk space (for models)

๐Ÿš€ Quick Start

1. Clone the repository

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

About

๐Ÿง  DocMind โ€” Local AI Document Chatbot **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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages