yr.SessionService#
- class yr.SessionService(session_id: str)[source]#
Bases:
objectSession Service Interface.
Provides load_session() method to load Session object for current invocation from libruntime memory. Does not directly query DataSystem, but calls libruntime’s LoadCurrentSession via bridge, libruntime reads the currently active AgentSessionContext from activeSessionMap.
Construct SessionService.
- Parameters:
session_id – Session ID of current invocation (passed from Context)
Methods
Construct SessionService.
Load Session object for current invocation.