adk_session_service behaviour (erlang_adk v0.2.5)
View Sourceadk_session_service - Behaviour for ADK session persistence.
Session services store conversations, memory, and state for agents.
Summary
Types
Callbacks
-callback add_event(AppName :: binary(), UserId :: binary(), SessionId :: binary(), Event :: adk_event:event()) -> ok | {error, not_found}.
-callback list_sessions(AppName :: binary(), UserId :: binary()) -> {ok, [session_meta()]}.