Expand description
High-level session management API
This module provides session management APIs for conversation handling:
SessionManager- UsesDatabasedirectly (existing API, backward compatible)SessionManagerGeneric<B>- UsesStorageBackendtrait (works with any backend)
§Features
- Create and manage conversation sessions
- Add user and assistant messages
- Automatic context compilation for user queries
- Format conversation history for LLM consumption
- Debug and replay conversations
Structs§
- Session
Manager - High-level session management
- Session
Manager Generic - Backend-agnostic session manager
- Session
Replay - Replay data for debugging
- Session
Turn - A conversation turn (user query + optional assistant response)