T2-022: Context builder -- assemble user health context for AI¶
Track: 2 — UI Revamp + AI Analytics
Section: Backend API -- AI Analytics Engine (Gemini Pro + DeepSeek)
Status: [ ] Todo
Repo: backend-api
Branch: feature/T2-022-context-builder
Done When¶
Function build_user_context(user_id, days: 30) -> String aggregates: health metrics, food log, workout history, sleep data, goals, profile. Formats as structured text for AI prompt. Respects token limits
Notes¶
No notes yet.