Expand description
Episodes: a model summarizes a finished stretch of conversation into a recallable episode (summary, topics, tone, outcome, importance).
Structs§
- Session
Analysis - What the analysis model said about a session.
- Session
Analyst - Summarizes sessions into episodes with a model.
- Session
Episode - A session episode for the store to record.
- Transcript
Entry - One message of a session, as an episode transcript reads it.
Functions§
- clean_
transcript - The transcript an analysis model reads: the user’s words in full, the assistant’s actions and (shortened) text, and tool outputs compressed to a line each.
- parse_
session_ analysis - The JSON object in a reply, leniently; anything unusable becomes the neutral default analysis.