Personalization and Long-Term Memory › Schema for a Personal Memory Record

Michael BrenndoerferDecember 1, 20262 min read
Language AI HandbookAll chapters
Part 45 of 67Knowledge, Memory, Editing, and Unlearning
Chapter 349Personalization and Long-Term Memory › Schema for a Personal Memory Record
Reading section 7 of 15 · Schema for a Personal Memory Record · 2 minSection 7 of 15 · 2 min

Section 7 of 15 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Use typed records so a correction or deletion can address an exact slot.

Fields for a scoped memory record.
FieldTypePurpose
memory_idstringStable id for auditing and derived-index entries.
user_idstringAccount partition in the example. A multi-tenant service also needs a tenant boundary.
kindenumsemantic_fact, preference, instruction, or episode_summary.
keystringSlot such as dietary_preference or home_city.
valueJSON objectValue validated for its slot.
confidencenumber in [0, 1]Extractor score, which need not be calibrated.
provenance, supporting_provenanceobject, listOriginal source reference and any distinct references corroborating the same value. Each includes the source turn, session, and extractor version when available.
consent_scopestringNamed purpose. Check the current grant separately. An absent grant denies use.
sensitivity_tierintegerPolicy tier for the value and use.
created_at, updated_attimestampsRecord creation and evidence-update times in the example.
expires_attimestampHard cutoff for serving.
superseded_byoptional idReplacement record for a correction.
statusenumactive, candidate, or superseded in this notebook.

Use the primary record for status and lifecycle. Combine its scope with the current grant before serving it. A derived vector or keyword index can help find candidates for recall. Resolve each result back to an eligible primary record. Superseded values leave the active view and stay available for authorized audit while policy permits it.

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