Skip to main content

get_target

Method
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

context
Dict
required
Dictionary containing the decision key.

Returns

Returns
List[str]
List of target task names, or empty list if no match.

Source

View on GitHub

praisonaiagents/conditions/evaluator.py at line 109