Base Verification Hook • AI Agent SDK
BaseVerificationHook: Base class for verification hooks.
BaseVerificationHook
Defined in the verification module.
AI Agent
Base class for verification hooks.
Provides common functionality for verification hooks. Subclass this to create custom verification hooks.
Constructor
ParamField
Optional[str]No description available.
ParamField
floatNo description available.
ParamField
boolNo description available.
Properties
ResponseField
strNo description available.
ResponseField
floatNo description available.
ResponseField
boolNo description available.
Methods
Usage
class MyTestRunner(BaseVerificationHook):
name = "my_tests"
def _execute(self, context):
# Run your tests
return VerificationResult(success=True, output="Tests passed")Source
View on GitHubpraisonaiagents/hooks/verification.py at line 100