DocuMind AI transforms how you interact with PDF documents. Instead of manually scanning through pages of content, simply ask questions in natural language and receive instant, context-aware responses powered by advanced AI models running locally on your machine.
By combining Retrieval-Augmented Generation (RAG) technology with a sleek, modern interface, DocuMind provides an intuitive way to extract insights from complex documents.
- 📁 Seamless PDF Processing - Upload any PDF document and have it instantly analyzed
- 🔍 Smart Document Chunking - Advanced techniques to break documents into meaningful segments
- 🧠 Semantic Search - Find relevant information based on meaning, not just keywords
- 💬 Natural Language Queries - Ask questions in plain English about your documents
- 🎨 Beautiful Dark Mode UI - Eye-friendly interface for extended reading sessions
- 🏎️ Local Model Execution - All processing happens on your machine for privacy and speed
- Python 3.7+
- Ollama for running LLMs locally
git clone <repository-url>
cd documindpython -m venv venvActivation:
- Windows:
venv\Scripts\activate - macOS/Linux:
source venv/bin/activate
pip install -r requirements.txtMake sure Ollama is running with:
ollama pull deepseek-r1:1.5b
ollama pull qwen2.5:1.5bmkdir -p document_store/pdfsstreamlit run rag_deep.pyOpen your browser and navigate to: http://localhost:8501
- Upload - Drag and drop your PDF document
- Wait - The system will process and analyze the content
- Query - Ask questions about the document in natural language
- Review - Get AI-powered responses based on document context
| Stage | Process | Technology |
|---|---|---|
| 1️⃣ Document Ingestion | PDF uploaded and text extracted | PDFPlumber |
| 2️⃣ Text Processing | Document split into semantic chunks | LangChain Splitters |
| 3️⃣ Vectorization | Text chunks converted to embeddings | DeepSeek Embeddings |
| 4️⃣ Knowledge Storage | Embeddings stored for quick retrieval | In-Memory Vector DB |
| 5️⃣ Query Processing | User question mapped to relevant chunks | Semantic Search |
| 6️⃣ Response Generation | AI generates answer based on context | Qwen2.5 LLM |
- Frontend: Streamlit
- AI Framework: LangChain
- Model Hosting: Ollama
- PDF Processing: PDFPlumber
- Language Model: Qwen2.5 (1.5B parameters)
- Embeddings: DeepSeek-r1 (1.5B parameters)
- Multi-document support
- Chat history persistence
- Additional file format support
- Custom model configuration
- Citation and source tracking
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ for knowledge enthusiasts everywhere