Skip to main content

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

fn get_target(&self, context: &HashMap<String, serde_json::Value>) -> Vec<String>
Get the target tasks/steps based on condition evaluation. # Arguments * context - Dictionary containing variables for evaluation. # Returns List of target task/step names to route to. Returns empty list if no match found. Parameters:
NameType
context&HashMap&lt;String
serde_json:Value&gt;

Source

View on GitHub

praisonai/src/conditions/mod.rs at line 0

Rust Routing

Rust Router

Rust Conditions