metadata
			title: Medical AI Assistant
emoji: ๐ฉบ
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
license: mit
app_port: 7860
short_description: Multilingual medical consultation AI assistant
๐ฉบ Medical AI Assistant
A multilingual medical consultation AI assistant optimized for Hugging Face Spaces.
โจ Features
- ๐ Multilingual Support: English and French medical consultations
 - ๐ง Medical Knowledge: AI-powered responses based on medical literature
 - โก Fast Processing: Optimized for quick responses
 - ๐ Educational Focus: Provides educational medical information with proper disclaimers
 
๐ Quick Start
- Visit the API Documentation at 
/docsto explore all endpoints - Try the main endpoint: 
POST /medical/ask - Use demo questions from 
/medical/demo 
๐ Example Usage
English Consultation
{
  "question": "What are the symptoms of malaria?",
  "language": "en"
}
French Consultation
{
  "question": "Quels sont les symptรดmes du paludisme?",
  "language": "fr"
}
Other Consultation
{
  "question": "Quels sont les symptรดmes du paludisme?",
  "language": "auto"
}
๐ง API Endpoints
GET /- Welcome message and API infoPOST /medical/ask- Medical consultation endpointGET /health- System health checkGET /medical/demo- Sample demo questionsGET /docs- Interactive API documentationGET /redoc- Alternative API documentation
โ๏ธ Medical Disclaimer
This AI assistant provides educational medical information only. Always consult qualified healthcare professionals for proper medical diagnosis and treatment.
๐๏ธ Technical Details
- Framework: FastAPI
 - AI Models: Lightweight transformers optimized for Spaces
 - Languages: Python 3.9+
 - Deployment: Docker on Hugging Face Spaces
 
๐ Support
For technical issues or questions, please check the API documentation at /docs.
Optimized for Hugging Face Spaces deployment