evaluate • AI Agent SDK

evaluate: Return a :class:`LivenessDecision` for the supplied timestamps.

evaluate

Method

</div>

This is a method of the LivenessPolicyProtocol class in the protocols module.

Return a :class:LivenessDecision for the supplied timestamps.

Signature

python
def evaluate(last_activity: float, now: float) -> LivenessDecision

Parameters

ParamField float

No description available.

ParamField float

No description available.

Returns

ResponseField LivenessDecision

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 7231


Related Documentation