Memory
Member context is not confined to a single thread. Everything the assistant learns about a member persists across conversations.
What the assistant remembers
As members answer onboarding questions and chat with the assistant, Bella stores details on their profile:
- Life stage: General fitness, trying to conceive, pregnancy, postpartum, perimenopause, or menopause.
- Health and training context: Goals, health conditions, cycle tracking, and measurements.
- Preferences and check-ins: Schedule, equipment constraints, and recent sleep, energy, or symptom reports.
Onboarding answers submitted via PUT /api/v1/members/{external_member_id} populate this memory automatically.
Shared across threads
Because memory belongs to the member rather than a thread:
- Opening a new thread (
POST /api/v1/members/{external_member_id}/threads) preserves their history, goals, and preferences. - Members do not need to repeat onboarding when starting new threads.
Dynamic calculations
Time-dependent values update automatically on each message:
- With a pregnancy
due_date, Bella calculates the gestational week and trimester dynamically so guidance adapts over time. - If a member’s stage or goals change during chat, the assistant updates memory accordingly.
Calling DELETE /api/v1/members/{external_member_id} permanently removes member memory and all conversation history.
Next steps
Last updated on