To Session • AI Agent SDK
to_session: Build a GA Realtime “session.update“ payload from this config.
to_session
Method
</div>
This is a method of the RealtimeConfig class in the realtime_agent module.
Build a GA Realtime `session.update` payload from this config.
Signature
def to_session() -> Dict[str, Any]Returns
ResponseField
Dict[str, Any]The result of the operation.
Used By
Source
View on GitHubpraisonaiagents/agent/realtime_agent.py at line 48