Set Session • AI Agent SDK

set_session: Set current session ID.

set_session

Method

</div>

This is a method of the ObservabilityHooks class in the observability module.

Set current session ID.

Signature

python
def set_session(session_id: str) -> Any

Parameters

ParamField str

No description available.

Returns

ResponseField Any

The result of the operation.

Source

View on GitHub

praisonaiagents/escalation/observability.py at line 226


Related Documentation