Expand description
Session Context Tracking (Phase 8 - ENG-70, ENG-71)
Extends session indexing with:
- Named session creation and management
- Memory-to-session linking
- Session-scoped memory search
- Session summarization
- Context role tracking (referenced, created, updated)
This enables agents to:
- Track which memories were used in a session
- Search within session context
- Generate session summaries
- Export session data for analysis
Structs§
- Create
Session Input - Input for creating a new session
- Session
Context - Extended session information with context
- Session
Export - Session export format
- Session
Memory Link - A memory linked to a session with context information
- Session
Search Result - Result of session search
Enums§
- Context
Role - Role of a memory in a session context
Functions§
- add_
memory_ to_ session - Add a memory to a session’s context
- create_
session - Create a new named session
- end_
session - End a session
- export_
session - Export a session with all its data
- get_
session_ context - Get a session with all its linked memories
- get_
session_ memories - Get all memories linked to a session
- get_
sessions_ for_ memory - Get sessions that reference a specific memory
- list_
sessions_ extended - List sessions with optional filters
- remove_
memory_ from_ session - Remove a memory from a session’s context
- search_
session_ memories - Search memories within a session’s context
- update_
session_ context - Update session context (working memory)
- update_
session_ summary - Update session summary