Poojitha319/MedGuideAI

0

stars

7

commits

Python

primary language

Jun 11, 2025

updated

README

๐Ÿง ๐Ÿ’‰ MedGuideAI: Your AI-Powered Healthcare Assistant

"An intelligent companion for your health journey."

Revolutionizing healthcare with AI-driven insights, appointment scheduling, and emergency response.


๐Ÿ” What is MedGuideAI?

MedGuideAI is a next-gen, AI-powered healthcare assistant that answers medical queries, books appointments with doctors, and guides you to the nearest hospital in emergencies โ€” all through a conversational interface.

Built using LangChain, Hugging Face Embeddings, Pinecone, Google APIs, and Chainlit to deliver a seamless patient experience.


๐Ÿš€ Key Features

CapabilityDescription
๐Ÿฉบ Medical Q&ARetrieves answers from medical PDFs using semantic search
๐Ÿ“… Doctor AppointmentChecks doctor availability and books appointments via Google Calendar
๐Ÿš‘ Emergency RoutingFinds nearest hospitals and navigates using Google Maps
๐Ÿ’ฌ AI Chat InterfaceBuilt with Chainlit for clean and conversational interactions

๐Ÿ—๏ธ Project Architecture

flowchart LR
    User -->|asks| Chainlit_UI
    Chainlit_UI --> LangChain
    LangChain --> Embedding_Model
    Embedding_Model --> Pinecone_DB
    LangChain -->|appointment| Google_Calendar
    LangChain -->|emergency| Google_Maps
    subgraph APIs
        Google_Calendar
        Google_Maps
    end

โš™๏ธ Getting Started

๐Ÿ”ง Prerequisites

  • Python 3.8+
  • Google Cloud API Key
  • Pinecone API Key
  • Hugging Face Token (for embeddings)

๐Ÿ“ฅ Installation

git clone https://github.com/Poojitha319/MedGuideAI.git
cd MedGuideAI
pip install -r requirements.txt

๐Ÿ” Set Environment Variables

Create a .env file or set them in your terminal:

export PINECONE_API_KEY="your_pinecone_api_key"
export GOOGLE_API_KEY="your_google_api_key"
export GOOGLE_MAPS_API_KEY="your_google_maps_api_key"
export HUGGINGFACEHUB_API_TOKEN="your_huggingface_token"

๐Ÿฉป How It Works

๐Ÿง  Medical Information Retrieval

  • Upload PDF medical resources.
  • Questions are semantically searched using LangChain + Pinecone.
  • Responses are context-aware and relevant.

๐Ÿฉบ Doctor Appointment Scheduling

  • Integrated with Google Calendar API.
  • Users can:
    • ๐Ÿ” Check doctor availability
    • โœ… Book slots
    • ๐Ÿ”” Get reminders

๐Ÿšจ Emergency Routing System

  • Get nearest hospitals using Google Maps + Places API.
  • View:
    • ๐Ÿ“ Directions
    • ๐Ÿ•’ Estimated time
    • ๐Ÿš˜ Route on map

๐Ÿ’ฌ Chat Interface (Chainlit)

  • Built using Chainlit for fast prototyping.
  • Intuitive and interactive.

To run:

chainlit run app.py -w

๐Ÿ“ฆ Directory Structure

MedGuideAI/
โ”œโ”€โ”€ app.py               # Main Chainlit app
โ”œโ”€โ”€ utils/               # Modular utilities (calendar, maps, QnA)
โ”œโ”€โ”€ content/             # PDF data source
โ”œโ”€โ”€ .env                 # API keys
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md

๐Ÿ”ฎ Future Roadmap

  • ๐Ÿ’Š Medication Reminders
  • ๐Ÿ“‚ Medical Record Integration
  • ๐Ÿค’ Symptom Checker
  • ๐Ÿ”’ HIPAA/GDPR Compliance

๐Ÿง‘โ€๐Ÿ”ฌ Use Cases

  • Healthcare Startups ๐Ÿฅ
  • Personal Health Monitoring ๐Ÿ“‹
  • Elderly Care Solutions ๐Ÿ‘ต๐Ÿ‘ด
  • Rural/Remote Medical Access ๐ŸŒ

๐Ÿ“„ License

This project is licensed for research and educational use.


๐Ÿค Contributions

We welcome contributions! Feel free to open issues or submit PRs for improvements, new features, or bug fixes.

Contributors

Poojitha319

7 commits

Poojitha319/MedGuideAI

0

stars

7

commits

Python

primary language

Jun 11, 2025

updated

README

๐Ÿง ๐Ÿ’‰ MedGuideAI: Your AI-Powered Healthcare Assistant

"An intelligent companion for your health journey."

Revolutionizing healthcare with AI-driven insights, appointment scheduling, and emergency response.


๐Ÿ” What is MedGuideAI?

MedGuideAI is a next-gen, AI-powered healthcare assistant that answers medical queries, books appointments with doctors, and guides you to the nearest hospital in emergencies โ€” all through a conversational interface.

Built using LangChain, Hugging Face Embeddings, Pinecone, Google APIs, and Chainlit to deliver a seamless patient experience.


๐Ÿš€ Key Features

CapabilityDescription
๐Ÿฉบ Medical Q&ARetrieves answers from medical PDFs using semantic search
๐Ÿ“… Doctor AppointmentChecks doctor availability and books appointments via Google Calendar
๐Ÿš‘ Emergency RoutingFinds nearest hospitals and navigates using Google Maps
๐Ÿ’ฌ AI Chat InterfaceBuilt with Chainlit for clean and conversational interactions

๐Ÿ—๏ธ Project Architecture

flowchart LR
    User -->|asks| Chainlit_UI
    Chainlit_UI --> LangChain
    LangChain --> Embedding_Model
    Embedding_Model --> Pinecone_DB
    LangChain -->|appointment| Google_Calendar
    LangChain -->|emergency| Google_Maps
    subgraph APIs
        Google_Calendar
        Google_Maps
    end

โš™๏ธ Getting Started

๐Ÿ”ง Prerequisites

  • Python 3.8+
  • Google Cloud API Key
  • Pinecone API Key
  • Hugging Face Token (for embeddings)

๐Ÿ“ฅ Installation

git clone https://github.com/Poojitha319/MedGuideAI.git
cd MedGuideAI
pip install -r requirements.txt

๐Ÿ” Set Environment Variables

Create a .env file or set them in your terminal:

export PINECONE_API_KEY="your_pinecone_api_key"
export GOOGLE_API_KEY="your_google_api_key"
export GOOGLE_MAPS_API_KEY="your_google_maps_api_key"
export HUGGINGFACEHUB_API_TOKEN="your_huggingface_token"

๐Ÿฉป How It Works

๐Ÿง  Medical Information Retrieval

  • Upload PDF medical resources.
  • Questions are semantically searched using LangChain + Pinecone.
  • Responses are context-aware and relevant.

๐Ÿฉบ Doctor Appointment Scheduling

  • Integrated with Google Calendar API.
  • Users can:
    • ๐Ÿ” Check doctor availability
    • โœ… Book slots
    • ๐Ÿ”” Get reminders

๐Ÿšจ Emergency Routing System

  • Get nearest hospitals using Google Maps + Places API.
  • View:
    • ๐Ÿ“ Directions
    • ๐Ÿ•’ Estimated time
    • ๐Ÿš˜ Route on map

๐Ÿ’ฌ Chat Interface (Chainlit)

  • Built using Chainlit for fast prototyping.
  • Intuitive and interactive.

To run:

chainlit run app.py -w

๐Ÿ“ฆ Directory Structure

MedGuideAI/
โ”œโ”€โ”€ app.py               # Main Chainlit app
โ”œโ”€โ”€ utils/               # Modular utilities (calendar, maps, QnA)
โ”œโ”€โ”€ content/             # PDF data source
โ”œโ”€โ”€ .env                 # API keys
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md

๐Ÿ”ฎ Future Roadmap

  • ๐Ÿ’Š Medication Reminders
  • ๐Ÿ“‚ Medical Record Integration
  • ๐Ÿค’ Symptom Checker
  • ๐Ÿ”’ HIPAA/GDPR Compliance

๐Ÿง‘โ€๐Ÿ”ฌ Use Cases

  • Healthcare Startups ๐Ÿฅ
  • Personal Health Monitoring ๐Ÿ“‹
  • Elderly Care Solutions ๐Ÿ‘ต๐Ÿ‘ด
  • Rural/Remote Medical Access ๐ŸŒ

๐Ÿ“„ License

This project is licensed for research and educational use.


๐Ÿค Contributions

We welcome contributions! Feel free to open issues or submit PRs for improvements, new features, or bug fixes.

Contributors

Poojitha319

7 commits

Languages

Python

100.0%