Available on crate feature
sessions only.Expand description
Session management.
Manage conversation context and state:
InMemorySessionService- In-memory sessions- Session creation, retrieval, and lifecycle
- State management with scoped prefixes
Available with feature: sessions
Modules§
- event
- inmemory
- migration
- Lightweight, embedded migration runner for SQL-backed session services.
- service
- session
- state
- state_
utils - Shared state utility functions for session backends.
Structs§
- Append
Event Request - Request to append an event to a session using typed
AdkIdentityaddressing. - Create
Request - Delete
Request - Event
- Event represents a single interaction in a conversation. This struct embeds LlmResponse to match ADK-Go’s design pattern.
- Event
Actions - GetRequest
- InMemory
Session Service - List
Request
Constants§
Traits§
- Events
- Trait for accessing events in a session.
- Readonly
State - Session
- Session
Service - State
Functions§
- extract_
state_ deltas - Split a flat state map into (app, user, session) tiers.
- merge_
states - Merge three state tiers back into a flat map with prefixes restored.