evaluate • Rust AI Agent SDK

evaluate: Evaluate the condition against the given context. # Arguments * `context` – Dictionary containing variables for evaluation. May include workflow…

evaluate

Method

</div>

This is a method of the ConditionProtocol class in the conditions module.

Evaluate the condition against the given context. # Arguments * context – Dictionary containing variables for evaluation. May include workflow variables, previous outputs, etc. # Returns Boolean result of condition evaluation. Returns false on evaluation errors (fail-safe).

Signature

python
def evaluate(&self, context: &HashMap<String, serde_json::Value>) -> bool

Parameters

ParamField &HashMap&lt;String

No description available.

ParamField :Value&gt;

No description available.

Returns

ResponseField bool

The result of the operation.


Related Documentation