Personalization and Long-Term Memory › The Memory Lifecycle
Michael BrenndoerferDecember 1, 20261 min read
Language AI HandbookAll chapters The implementation uses five stages. Apply the relevant checks each time data crosses a stage.
- Capture checks the collection purpose and omits data outside it.
- Extract turns eligible inputs into candidates. Validate the type, meaning, provenance, and account before letting a candidate shape a later answer.
- Store writes the resolved record with provenance, consent scope, timestamps, and an expiry policy.
- Retrieve checks account, current grants, sensitivity, status, and expiry before ranking by relevance or recency.
- Inject passes the selected data with trusted policy and accounts for its size. The application remains responsible for enforcing authorization and checking actions.
Writes need a purpose. Name a future request that would use the record before deciding to persist it.
Rank only eligible records. Similarity alone cannot tell you whether a record is current, authorized, or able to override a different kind of record.
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!