Expand description
Session transcript indexing with dual-limiter chunking
Implements conversation indexing with:
- Dual-limiter chunking (messages + characters)
- Overlap preservation for context continuity
- Delta updates for incremental indexing
- TranscriptChunk memory type with 7-day default TTL
Based on Fix 6 from the design plan:
Dual-limiter chunking algorithm with max_messages AND max_chars
Structs§
- Chunking
Config - Configuration for conversation chunking
- Conversation
Chunk - A chunk of conversation messages
- Message
- A message in a conversation
- Session
- Session information
Functions§
- chunk_
conversation - Chunk a conversation using the dual-limiter algorithm.
- delete_
session - Delete a session and all its chunks
- get_
session - Get a session by ID
- index_
conversation - Index a full conversation into memory chunks.
- index_
conversation_ delta - Index new messages incrementally (delta update).
- list_
sessions - List all sessions with optional workspace filter