Skip to content
/ DocEase Public

DocEase is an AI-powered medical chatbot using DeepSeek RAG with Ollama and Pinecone for accurate, verified medical information. πŸš€

License

Notifications You must be signed in to change notification settings

mukkss/DocEase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DocEase πŸ₯ - AI-Powered Medical Chatbot

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.


🌟 Features

βœ… 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.


πŸ–ΌοΈ Visuals

πŸ“Œ Medical Example:
Diseases & Conditions

Medical Tests & Treatments

Preventive Medicine & Alternative Therapies

πŸ“Œ Non Medical Example:
Science & Technology


πŸ”§ Installation & Setup

πŸš€ Step 1: Fork the Repository

  1. Click on the Fork button in the top-right of this repository.
  2. Clone your forked version locally:
    git clone https://github.com/YOUR_USERNAME/DocEase.git
    cd DocEase

πŸ›  Step 2: Install Dependencies

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

🧠 Step 3: Install Ollama & DeepSeek Model

  1. Install Ollama:

    curl -fsSL https://ollama.ai/install.sh | sh  # For Mac & Linux

    On Windows, download it from: Ollama Website

  2. Pull the DeepSeek RAG Model:

    ollama pull deepseek-r1:1.5b

πŸ— Step 4: Configure Pinecone (Vector Database)

  1. Sign up at Pinecone and get your API key.
  2. Add your Pinecone API key in a .env file:
    PINECONE_API_KEY=your_api_key_here
    

β–Ά Step 5: Run the Application

Start the Flask server:

python app.py

The chatbot will be available at:
πŸ“ http://localhost:8080


🎯 Usage

  • 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.

πŸ“Œ Tech Stack

  • Backend: Flask, Python
  • LLM: DeepSeek RAG (via Ollama)
  • Vector Search: Pinecone
  • Frontend: HTML, CSS, JavaScript
  • Environment: Docker (optional)

πŸš€ Future Enhancements

πŸ”Ή 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.


🀝 Contributing

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

πŸ“© Contact

πŸ“§ Email: [email protected] 🌐 GitHub: mukkss


About

DocEase is an AI-powered medical chatbot using DeepSeek RAG with Ollama and Pinecone for accurate, verified medical information. πŸš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published