MedBridge AI is a dialect-aware health information assistant built for rural and underserved communities. It helps users ask questions in local Malaysian dialects, converts them into standard language, retrieves answers from official health documents, simplifies the explanation, and provides clear next steps.
Many rural users struggle to access health information because:
- official information is often written in formal or technical language
- users may speak local dialects instead of standard national language
- digital health systems are rarely designed for low digital literacy users
This creates an information gap that can delay care, reduce trust, and make important services harder to access.
MedBridge AI is a website-based assistant that combines:
- Dialect-aware input
- Voice and text interaction
- Retrieval-Augmented Generation (RAG)
- Plain-language simplification
- Action-oriented summaries
The goal is not just to translate, but to help users understand and act on official health information safely.
Users can ask questions in supported local dialects.
Current preliminary MVP support:
- Kelantan Malay
- Sabah Malay
The system interprets dialect input into standard Malay before retrieval, then can optionally rewrite the reply back into dialect for easier communication.
Users can either:
- type their question
- use audio input for transcription
This supports more inclusive access for users with lower literacy or lower digital confidence.
MedBridge AI retrieves information from official health-related documents and answers using retrieved context only.
This reduces hallucination risk and improves trust.
After retrieving the official answer, the system rewrites it into simpler everyday language.
The system produces a short 3–5 bullet summary of next steps so users can act immediately.
The interface shows the source snippets used to generate the answer.
This project is designed around the core idea that health information should be understandable and accessible, even for users who do not speak in standard formal language.
Instead of building a generic chatbot, MedBridge AI focuses on:
- reducing language and dialect barriers
- making official health information easier to understand
- helping users take action safely
- supporting more inclusive access to health services
This preliminary-round prototype demonstrates the full flow:
- User enters a question by voice or text
- Optional dialect mode converts the input into standard Malay
- The system retrieves relevant chunks from official documents
- It generates a grounded answer
- It simplifies the answer
- It provides 3–5 action steps
- It optionally rewrites the answer in dialect
The current prototype uses health and clinic-related public documents for retrieval, including:
- rural health clinic information
- health center patient guidance
- clinic service and payment references
These documents are used to demonstrate the RAG pipeline and can later be replaced with a larger Malaysian public health document set.
Voice/Text Input
↓
Dialect Normalization
↓
RAG Retrieval from Official Documents
↓
Grounded Answer Generation
↓
Plain-Language Simplification
↓
3–5 Action Steps
↓
Optional Dialect Reply
- Streamlit
- Python
- LangChain
- FAISS
- Google Gemini API
- RapidFuzz
- Faster-Whisper
- PDF-based official health documents
- Custom dialect phrasebank
Our data strategy focuses on two layers:
We index health-related PDF documents and retrieve relevant chunks before answer generation.
We maintain a structured phrasebank containing:
- dialect utterance
- standard Malay interpretation
- English meaning
- intent label
This supports both:
- dialect-to-standard normalization
- optional dialect-style reply generation
We evaluate the system using:
- retrieval hit rate on sample questions
- manual checking of whether answers are supported by retrieved sources
- dialect interpretation quality on phrasebank examples
- end-to-end demo testing across key use cases
This keeps validation transparent and realistic for a preliminary-round prototype.
Examples of supported questions:
- “What services are available at the clinic?”
- “Can I get a vaccine here?”
- “What should I bring before visiting?”
- “Is mental health support available?”
- “Can this be done through telehealth?”
medbridge-ai/
├── app.py
├── requirements.txt
├── README.md
├── .env.example
├── test_app.py
├── data/
│ ├── docs/
│ ├── dialect/
│ └── index/
└── medbridge/
├── __init__.py
├── ingest.py
├── rag.py
├── dialect.py
├── audio.py
├── prompts.py
└── eval.py
git clone https://github.com/RealdoLim/medbridge-ai.git
cd medbridge-aipython -m venv .venvActivate it:
Windows
.venv\Scripts\activatemacOS / Linux
source .venv/bin/activate
If you encounter an error like "...cannot be loaded because running scripts is disabled on this system." please run the following command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserpip install -r requirements.txtCopy .env.example to .env and add your API key:
GOOGLE_API_KEY=your_api_key_herepython -m medbridge.ingeststreamlit run app.pyPlanned next steps include:
- larger Malaysian health document set
- more dialect support
- stronger dialect reply quality
- improved voice UX
- expanded evaluation dashboard
- deployment-ready API and frontend polish
Add your team member names here.
- Realdo Aginda Lim
- Ekin Lunar Limarya
- Andrian Hindra
- Ryan So
MedBridge AI is an information access assistant. It is designed to help users understand official health information more clearly. It does not provide medical diagnosis, emergency decision-making, or professional medical advice.