Register Rule • AI Agent SDK

register_rule: Register a rule with the default registry.

register_rule

Function

</div>

This function is defined in the doctor_registry module.

Register a rule with the default registry.

Signature

python
def register_rule(rule: DoctorContractProtocol) -> None

Parameters

ParamField DoctorContractProtocol

No description available.

Uses

  • register_rule
  • get_default_registry

Used By

Source

View on GitHub

praisonaiagents/runtime/doctor_registry.py at line 257