DocEase is an AI-powered medical chatbot designed to provide accurate medical information by leveraging DeepSeek RAG with Ollama. It retrieves information from a medical knowledge base and generates responses only from verified medical sources.
π¨ Note: This chatbot is for informational purposes only and does not replace professional medical advice.
β
Medical-Specific Knowledge Base β Uses vector search with Pinecone for accurate retrieval.
β
DeepSeek RAG + Ollama Integration β Provides AI-generated responses based on retrieved documents.
β
Strict Filtering β Ensures only medical-related queries are answered.
β
Flask API β Easily deployable web-based chatbot.
β
User-Friendly Interface β Simple UI for interactive Q&A.
- Click on the Fork button in the top-right of this repository.
- Clone your forked version locally:
git clone https://github.com/YOUR_USERNAME/DocEase.git cd DocEase
Ensure you have Python 3.8+ installed. Then, set up a virtual environment and install dependencies:
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate
pip install -r requirements.txt
-
Install Ollama:
curl -fsSL https://ollama.ai/install.sh | sh # For Mac & Linux
On Windows, download it from: Ollama Website
-
Pull the DeepSeek RAG Model:
ollama pull deepseek-r1:1.5b
- Sign up at Pinecone and get your API key.
- Add your Pinecone API key in a
.env
file:PINECONE_API_KEY=your_api_key_here
Start the Flask server:
python app.py
The chatbot will be available at:
π http://localhost:8080
- Enter a medical query (e.g., What are the symptoms of diabetes?).
- The chatbot retrieves relevant documents and generates an accurate response.
- If the question is not medical-related, it will reject the query.
- Backend: Flask, Python
- LLM: DeepSeek RAG (via Ollama)
- Vector Search: Pinecone
- Frontend: HTML, CSS, JavaScript
- Environment: Docker (optional)
πΉ Add speech-to-text for voice input.
πΉ Implement multi-modal AI for medical images.
πΉ Enhance UI with real-time chat animations.
πΉ Fine-tune response accuracy with better chunking strategies.
Want to improve DocEase? Fork this repo, create a feature branch, and submit a pull request!
git checkout -b feature-branch
git commit -m "Added new feature"
git push origin feature-branch
π§ Email: [email protected] π GitHub: mukkss