expected • Rust AI Agent SDK

expected: Set expected output.

expected

Method

</div>

This is a method of the AccuracyEvaluatorBuilder class in the eval module.

Set expected output.

Signature

python
def expected(mut self, expected: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.