AskAI History in MyFam360 — Pin, Re-Run, and Why the Cap Doesn't Reset
AskAI in MyFam360 now persists every question, lets you pin favourites, and supports one-click re-runs against current data. Here's how the history flow works.
The hardest part of using a financial assistant isn’t getting an answer once. It’s getting the same useful answer reliably, every month, with low effort. Most chatbot interfaces lose this completely — every session starts blank, and remembering what to ask is more work than asking it.
MyFam360’s AskAI was originally built that way too — fire a question, get an answer, lose both. The recent updates fixed that. AskAI now has durable server-side history, pinning, search, and one-click Run Again — designed around the assumption that you’ll ask the same set of questions repeatedly and want to compare answers across months.
This post explains how the history flow works, what the daily cap actually counts, and why pinning is the most underrated feature in the app.
What Got Built
A new ask_ai_history table persists every AskAI interaction:
| Field | Purpose |
|---|---|
question | The user’s prompt |
answer | The LLM’s response |
is_pinned | Boolean — pinned questions sort to top and survive Clear |
asked_by_user_id | Which family member asked |
family_group_id | Family scope |
created_at | Timestamp |
aggregate_summary_used | The minimised payload sent to the LLM (audit trail) |
Two new endpoints back it: GET /families/{id}/ask-ai/history and DELETE /families/{id}/ask-ai/history. Every AskAI request automatically inserts a row.
The History UI
Open Insights → AskAI. The page is split into two zones:
Left: Composer
A text field where you type a question, plus a list of suggested questions for inspiration. The submit button is disabled when you’re at the daily cap (more below).
Right: History
A grouped list of past questions and answers, organised into:
- Pinned — at the top, with a yellow star icon
- Today — questions asked since midnight UTC
- Yesterday — questions asked the previous UTC day
- Older — everything else, sorted newest first
A search box filters by question text (substring, case-insensitive). Clear History wipes everything except pinned questions — pinned items are the exception by design.
Each row has three actions:
- Run Again — re-issues the same question against current data, appends a new history row
- Pin / Unpin — toggle the
is_pinnedflag - Delete — soft-delete the single row
The Three-Per-Day Cap
The cap is enforced against a durable audit_logs count, not against the visible history list. Specifically:
SELECT COUNT(*) FROM audit_logs
WHERE family_group_id = ?
AND entity_type = 'ask_ai_request'
AND created_at >= today_utc_midnight
If the count is ≥ Settings.ASK_AI_DAILY_GROUP_CAP (default 3), the next request returns 429.
The decoupling matters for two reasons:
- Clearing history doesn’t reset the cap. A user who hits the cap can’t just clear history and resume — the audit count is independent.
- The audit trail is permanent. Even after history is cleared, you (or admin support) can see how AskAI was used.
The cap is admin-configurable via the App Settings page (Admin → Project Features → App Settings → ask_ai_daily_group_cap). The default of 3 is conservative for the rollout; expect this to evolve.
Why Pinning Is the Most Important Feature
The default AskAI workflow without pinning:
- Day 1: ask “What was my biggest spend?” — get answer
- Day 30: try to remember what you asked — re-type it slightly differently — get a slightly different answer
- Day 60: drift
The default AskAI workflow with pinning:
- Day 1: ask the question, pin it, get answer
- Day 30: open AskAI, tap Run Again on the pinned question, get this month’s answer
- Day 60: same, same, same — you have a 3-month trend
The cost is one tap (Pin) on the day you first ask. The benefit accrues for the entire lifetime of your usage of MyFam360.
The four questions I’d recommend pinning, in order of usefulness:
- “What were my top 5 spending categories last month?” — the canonical monthly review opener.
- “How did my savings rate compare to the last three months?” — surfaces drift early.
- “Which budgets did I exceed last month, and by how much?” — turns budget adherence into a checklist.
- “What recurring expenses have I logged in the last 60 days I might have forgotten about?” — the subscription audit prompt.
The Duplicate-Question Guard
If you type a question that exactly matches a recent history entry (within the same UTC day), MyFam360 surfaces the existing entry without consuming a daily quota slot. The guard is exact-match — typo-tolerant deduplication would risk surfacing the wrong entry.
The guard does not apply to Run Again. Run Again is the explicit “re-run against current data” action — it always issues a fresh request (and counts against the daily cap).
What AskAI Doesn’t See
The minimisation gateway (llm_minimization_service.py) is the architectural firewall between your data and the external LLM. It only constructs aggregate payloads:
- Category totals for the requested time window
- Monthly summaries (income, expense, net)
- Budget adherence percentages
- Recurring expense list with frequencies (no amounts beyond totals)
- Savings goal progress
It does not send:
- Individual transaction descriptions
- Merchant names
- Account identifiers
- Transaction IDs
- Member names tied to specific transactions
This is hard-coded in the service — there’s no path in the codebase for AskAI to receive transaction-level fields. The full architecture is documented in the AI privacy post.
Cost and Quota Trade-Offs
AskAI is expensive to serve. Each request hits an external LLM (OpenAI or Gemini, configurable via LLM_PROVIDER), and the cost is roughly proportional to the input + output token count. The minimisation gateway helps by keeping inputs small, but each request still costs real money.
The 3-per-day cap maps directly to a budget the team can sustain across the user base. If usage trends down (people pin and re-run more, asking fewer net-new questions), the cap may rise. If costs come down (model prices fall), the cap may rise.
The right mental model: AskAI is a finite, replenishing resource — not an unlimited chatbot.
What This Means For You
Spend 10 minutes today setting up your monthly review:
- Ask 3–4 of the questions you’d want answered every month.
- Pin each one.
- Set a recurring calendar reminder on the 1st of each month: “Open AskAI → Run Again on pinned”.
After two months you’ll have a trend dataset. After six months you’ll have a rolling financial dashboard you didn’t have to design.
The hardest version of personal finance management is staying consistent. Pinning is how AskAI helps you do that.
See Also
- How AI Features Work Without Seeing Your Personal Data — the full LLM minimisation architecture
- How to Read Your Spending Reports in MyFam360 — pairs well with AskAI for monthly review
- What’s New in MyFam360 — the Roundup
Take control of your family finances — free
MyFam360 lets your whole family track expenses, set budgets, and hit savings goals together. Free to start, no credit card needed.
Free plan available · No credit card required · Cancel anytime
Frequently Asked Questions
What questions can I ask AskAI in MyFam360?
Anything you'd want a financial assistant to compute against your aggregated data — 'What was my biggest discretionary spend last month?', 'Did I stay under budget on groceries?', 'How much did I spend on subscriptions this quarter?', 'What's my average monthly savings rate?'. Because AskAI only sees aggregate patterns (not individual transactions), it can't answer 'What did I buy at Amazon on 14 April?' — those questions belong in Search.
How many AskAI questions can I ask per day?
The daily cap is currently 3 requests per family group per UTC day. The cap is enforced via a durable audit_logs count (entity_type='ask_ai_request'), not against the visible history list. That means clearing your AskAI history does not give back any of your daily allowance. The cap is intentionally conservative for rollout and is admin-configurable via ASK_AI_DAILY_GROUP_CAP.
Why is the daily cap so low?
Two reasons. First, AskAI requests cost money to serve — each call hits an external LLM provider, and the cost scales linearly with usage. Second, the design encourages thoughtful question-asking over rapid-fire chatting. Three carefully chosen questions a day tends to produce more actionable insight than thirty quick ones. The cap may rise over time as costs come down and usage patterns are better understood.
What does pinning a question do?
Pinned questions sort to the top of the AskAI history and survive 'Clear History' actions. They're how you build a monthly review checklist — pin the four or five questions you ask every month, and on the 1st of each month tap Run Again on each pinned question. The result lands as a new history entry, giving you a month-over-month trend without re-typing anything.
Does AskAI ever see my individual transactions?
No. AskAI requests flow through llm_minimization_service.py, which derives only aggregate payloads (category totals, monthly summaries, budget adherence percentages) before sending anything to the LLM. The minimisation is hard-coded and not user-overridable — there's no path in the codebase for AskAI to receive transaction-level fields like description, merchant, or transaction IDs. See the dedicated AI privacy post for the full architecture.
What is the duplicate-question guard?
If you manually ask a question that exactly matches a recent history entry, MyFam360 surfaces the existing entry instead of consuming a new daily quota slot. This prevents accidental double-asks (typing the same question twice because the first response felt slow). The Run Again button bypasses this guard intentionally — Run Again is for explicit re-runs, not deduplication.
Can other family members see my AskAI history?
AskAI history is family-scoped, not user-scoped. Anyone with module access to AskAI in your family group can see the history list. This is deliberate — AskAI questions are often the most useful when shared (one spouse's question can be the other's monthly review prompt). If you want privacy from family members, AskAI is the wrong tool — use private notes instead.
Share this article
Related Articles
How to Track Your Credit Cards in MyFam360 — The Foundation
Add credit cards to MyFam360 with joint cardholders, billing-cycle days, and an automatic account mirror that powers every downstream feature.
21 May 2026
App GuideCredit Card Annual Fees and the 'Worth Keeping' Verdict in MyFam360
How MyFam360 charges and tracks annual fees automatically, and the Family+ 'Worth Keeping' verdict that tells you whether the card is paying for itself.
21 May 2026
App GuideRecording a Credit Card Payment in MyFam360 — With the Impact Preview
How MyFam360's Record Payment modal models the finance charge and revolving balance before you confirm, so 'pay minimum' never sneaks up on you again.
21 May 2026