A domain-specific AI chatbot that provides dermatology-focused responses in both Arabic and English, automatically detecting the user's language. Built with advanced prompt engineering to keep the model focused strictly on dermatology, control tone and response length, and handle natural conversation flow.
Key highlights:
- Automatic language detection (Arabic/English) with no user configuration needed
- Multi-turn conversation memory via chat history for coherent dialogue
- Strict domain restriction — model stays on-topic through prompt engineering
- Clean FastAPI backend with separation of concerns across routes, services, and prompt layers
- Publicly deployed on Hugging Face Spaces with a Gradio interface
Source code: https://github.com/SaraaE...