"Maternal Health AI Prompt Engineering project: Applying AIM and MAP frameworks to deliver precise, localized healthcare advice in East African rural contexts."
Savannah Tracker Report: Precision AI for Maternal Health
Introduction
Precision matters in maternal health because generic advice often fails to account for regional resource constraints. In Kenya and Uganda, maternal outcomes depend on hyper-local factors like diet, distance to clinics, and mobile payment infrastructure. Tailoring AI prompts ensures that medical guidance is not only accurate but also actionable and culturally safe.
Three Rewritten Prompts
1. Prompt A: Nutrition Advice
Original: "Give nutrition tips for pregnant women."
Rewritten: "Provide nutrition advice for an expectant mother in rural Uganda. Prioritize local staples like matooke and ugali, which provide roughly 60% of daily calories. Ensure suggestions include iron-rich leafy greens available in local markets and avoid expensive imported 'superfoods'."
Annotations:
AIM: Action (Provide nutrition advice), Intent (Support healthy pregnancy via diet), Measurable (Inclusion of specific local staples).
MAP: Material (Local staples/market availability), Audience (Rural Ugandan mother), Purpose (Hyper-local actionability).
Key Improvement: Reduced hallucination risk. By anchoring the AI in local staples, we prevent it from suggesting unaffordable or unavailable items like salmon or kale (if unavailable), ensuring better cultural alignment.
2. Prompt B: Appointment Reminders
Original: "Remind users about doctor visits."
Rewritten: "Send a reminder for a prenatal check-up. Account for the fact that 70% of target users live >5km from clinics. Suggest starting the journey early and mention that the KES 200 clinic fee can be paid via M-Pesa to avoid delays at the facility."
Annotations:
AIM: Action (Send reminder), Intent (Increase clinic attendance), Measurable (Include travel and payment info).
MAP: Material (M-Pesa/Distance constraints), Audience (Mothers in rural Kenya), Purpose (Logistical preparation).
Key Improvement: Better cultural and economic alignment. It addresses the specific "M-Pesa payment …