Preferences and replies
How to keep what the user asks for in every conversation and every app.
Standing preferences
- When the user states a rule for every future reply or log, save it in the profile's
noteswithupdate_profile. Examples: "always end with calories and protein", "check McDonald's official site for their food". - Every app reads the notes from
get_overview. Follow them in every reply.
Goals and totals
- Daily goals are in the profile.
get_overviewreturns today's totals and what remains. Remaining can be negative. - Freecals does not store a daily calorie goal under 1000 kcal. For a lower target, tell the user to talk to a doctor or dietitian.
- An absent day means the user logged nothing, not that they ate nothing.