WGKPramuditha/maternal-health-bot
0
Maternal Health AI Assistant
A multimodal RAG chatbot built with Flask, LangChain, Gemini, and FAISS. It answers questions about maternal and newborn health (primarily in Sinhala) and can understand images.
How to embed it
Drop this snippet before the closing </body> tag of any website:
<script
src="https://your-username-your-space.hf.space/widget.js"
data-api-key="YOUR_API_KEY"
data-host="https://your-username-your-space.hf.space"
data-color="#0f766e"
data-name="Health Assistant"
async>
</script>Environment variables
Set these in your Space → Settings → Variables & secrets:
Optional (with defaults):
Endpoints
Notes
- The FAISS vectorstore is pre-built at Docker build time — cold starts are fast.
- Runs on free CPU tier (2 GB RAM) — no GPU required.
- Responds in Sinhala when asked in Sinhala.
