Personalization and Long-Term Memory › Worked Example: A Fictional User Across Three Sessions

Michael BrenndoerferDecember 1, 20261 min read
Language AI HandbookAll chapters
Part 45 of 67Knowledge, Memory, Editing, and Unlearning
Chapter 349Personalization and Long-Term Memory › Worked Example: A Fictional User Across Three Sessions
Reading section 10 of 15 · Worked Example: A Fictional User Across Three Sessions · 1 minSection 10 of 15 · 1 min

Section 10 of 15 · 1 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Consider three sessions with a fictional user, A. Mensah. The user has enabled the food and calendar purposes.

Session 1 (Mon). A. asks for a quiet café and adds, "I don't do dairy." The food preference is stored with a 180-day expiry for this exercise. A café search could also produce an episode summary under a distinct policy. The notebook only writes the food preference.

JSON
CollapseExpand
{"kind": "preference", "key": "dairy_tolerance",
 "value": {"avoids": "dairy"}, "consent_scope": "personalize_food", "ttl_days": 180}

Session 2 (Wed). A. says "Remember not to book me before 08:00." A verified instruction carries the account's configured time zone.

JSON
CollapseExpand
{"kind": "instruction", "key": "scheduling_window",
 "value": {"no_events_before": "08:00", "timezone": "Africa/Lagos"},
 "consent_scope": "calendar", "ttl_days": 180}

Session 3 (Fri). A. says "I'm vegetarian now, starting this month." This creates a separate dietary slot. A restaurant task can use both records because either preference can narrow the available choices on its own.

Later, A. can correct a city value without changing either preference. An explicit request to erase the dairy preference addresses that one slot and removes its retained versions in the toy store.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy