matches • AI Agent SDK

matches: Return True if every constrained condition equals the facts.

matches

Method

</div>

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

Return True if every constrained condition equals the facts.

Signature

python
def matches(facts: 'RouteFacts') -> bool

Parameters

ParamField RouteFacts

No description available.

Returns

ResponseField bool

The result of the operation.

Uses

  • candidates.add

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2423