A chatbot that answers questions from your PDFs using AI-powered natural language processing.
DocuMind is an advanced AI assistant that allows users to chat with multiple PDF documents. It processes PDFs, understands their content, and provides intelligent answers based on user queries. Built using LangChain, OpenAI, Hugging Face, and Streamlit, this project enhances document-based interactions with voice-assisted responses.
✅ Chat with Multiple PDFs – Ask questions and get context-aware responses.
✅ AI-Powered Search – Uses embeddings for accurate results.
✅ Voice-Assisted Responses – Get spoken answers for a seamless experience.
✅ Supports Diverse Data Sources – Load PDFs, Excel files, Google Drive documents, and more.
✅ Built with LangChain & Hugging Face – For improved AI-driven responses.
1️⃣ PDF Upload – Load multiple PDFs into the chatbot.
2️⃣ Text Processing – Extracts and chunks text for efficient retrieval.
3️⃣ Embedding & Similarity Matching – Finds the most relevant text based on your query.
4️⃣ AI Response Generation – Uses OpenAI’s GPT to generate accurate answers.
5️⃣ Voice Output – Responds with text and voice.
Follow these steps to set up and run DocuMind:
git clone https://github.com/ankurkr07/DocuMind.git
cd DocuMindpip install -r requirements.txtCreate a .env file in the project directory and add your OpenAI API Key:
OPENAI_API_KEY=your_secret_api_keyStart the chatbot using Streamlit:
streamlit run app.pyLoad your PDFs. Ask questions in natural language. Receive intelligent responses from the document’s content.