File size: 563 Bytes
8685bec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: DACM AI Backend
emoji: 🏥
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
---

# DACM AI Backend

FastAPI backend for the Digital Algorithm for Contraceptive Decision Making (DACM) system.

## Endpoints

- `POST /api/v1/advice` - Get AI-powered contraceptive recommendations
- `GET /health` - Health check endpoint

## Architecture

- **Safety Engine**: WHO MEC guideline validation
- **RAG Service**: ChromaDB + WHO guidelines retrieval
- **ML Client**: Hugging Face satisfaction prediction
- **LLM**: Groq API for clinical recommendations