Get Target • AI Agent SDK
get_target: Get target tasks based on the decision value.
get_target
Method
</div>
This is a method of the DictCondition class in the evaluator module.
Get target tasks based on the decision value.
Signature
def get_target(context: Dict[str, Any]) -> List[str]Parameters
ParamField
Dict[str, Any]Dictionary containing the decision key.
Returns
ResponseField
List[str]List of target task names, or empty list if no match.
Source
View on GitHubpraisonaiagents/conditions/evaluator.py at line 107