ASHAI Documentation¶
Welcome to ASHAI - a comprehensive AI Public Health Agent that provides evidence-based medical information through multiple AI-powered endpoints.
What is ASHAI?¶
ASHAI is a medical AI platform built on PubMed research and curated FAQ sources that offers:
- Evidence-Based Responses - Strictly based on medical literature and curated sources
- Intelligent Source Routing - Automatically selects the best knowledge sources for each query
- Cultural Sensitivity - Provides appropriate guidance for diverse populations
- Quality Assurance - Built-in evaluation and quality monitoring
Key Components¶
🤖 AI Agents¶
Conversational agents that interact with patients and provide medical guidance
Learn about Agents → | Try the Agents →
🎙️ User Interfaces¶
Voice chat and web interfaces for interacting with ASHAI
🔍 Search Systems¶
Multiple specialized medical knowledge sources and databases
📈 Evaluation Framework¶
Quality assessment and performance monitoring tools
View Evaluation Documentation → | See Live Leaderboard →
⚙️ API Reference¶
Interactive FastAPI documentation with full request/response schemas
Open Live API Docs (Swagger) →
Quick Start¶
Get ASHAI running in 3 simple steps:
-
Clone and Setup
-
Configure Environment
-
Start the Server
Visit http://localhost:8000 to access the web interface.
Once you've read the documentation, try the live application with all the agents and features described here!
First Time Setup
Check the Quick Start Guide for detailed setup instructions including Google Cloud Healthcare NLP configuration.
Architecture Overview¶
ASHAI uses a modular architecture with intelligent routing:
graph TB
User[User Query] --> Agent[ASHAI Agent]
Agent --> Router[Intelligent Router]
Router --> |Pregnancy| Googlesheet[Googlesheet FAQ]
Router --> |General Medical| PubMed[PubMed Search]
Router --> |Structured Content| September[September Health Library]
Googlesheet --> Evaluator[Quality Evaluator]
PubMed --> Evaluator
September --> Evaluator
Evaluator --> Response[Evidence-Based Response]
Core Features¶
🧠 Intelligent FAQ Routing¶
- Pregnancy Queries → Googlesheet FAQ + PubMed
- General Medical → September Health Library + PubMed
- Regional Health → Bangladesh FAQ + PubMed
🔬 Medical Knowledge Search¶
Using multiple specialized databases: - Query structured medical content from September Health Library - Search peer-reviewed research via PubMed - Access pregnancy-specific knowledge from Googlesheet FAQ
🛡️ Quality Assurance¶
- Evidence-Only Responses - No AI hallucination, only sourced information
- Automatic Evaluation - Multi-dimensional quality scoring
- Source Transparency - All sources cited and linked
- Performance Monitoring - Comprehensive logging and analytics
Example Use Cases¶
Pregnancy Nutrition
Query: "Can I eat fish during pregnancy?"
Routing: Googlesheet FAQ + PubMed
Response: Evidence-based guidance with specific recommendations and sources
Medication Interactions
Query: "Interactions between diabetes medications and blood pressure drugs"
Routing: PubMed + September Health Library Response: Research evidence with structured medical content
General Health
Query: "What are symptoms of high blood pressure?"
Routing: September Health Library + PubMed
Response: Comprehensive symptom information from authoritative sources
API Endpoints¶
- Agents: See generated pages in
Agents
or visit the Agents overview. - Search: See generated pages in
Search
or visit the Search overview. - Live Schemas: Explore all endpoints in the Swagger UI.
API Documentation¶
Getting Help¶
- Quick Start - Setup Guide
- API Reference - Live API Docs
- Examples - Quick Start Examples
- Issues - GitHub Issues
ASHAI is designed for healthcare professionals and researchers. Always consult qualified medical professionals for medical decisions.