Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
RoutingConditionProtocol
Defined in the conditions module.Rust AI Agent SDK Extended protocol for conditions that support routing to targets. This extends ConditionProtocol with the ability to return target tasks/steps based on the condition evaluation.
Methods
get_target
context - Dictionary containing variables for evaluation. # Returns List of target task/step names to route to. Returns empty list if no match found.
Parameters:
| Name | Type |
|---|---|
context | &HashMap<String |
serde_json | :Value> |
Source
View on GitHub
praisonai/src/conditions/mod.rs at line 0
