Skip to main content

ReliabilityEvaluatorBuilder

Defined in the eval module.
Rust AI Agent SDK Builder for ReliabilityEvaluator.

Fields

NameTypeDescription
expected_toolsVec<String>-
configEvaluatorConfig-

Methods

expect_tool

fn expect_tool(mut self, tool: impl Into<String>) -> Self
Add expected tool. Parameters:
NameType
toolimpl Into&lt;String&gt;

threshold

fn threshold(mut self, threshold: f64) -> Self
Set threshold. Parameters:
NameType
thresholdf64

build

fn build(self) -> ReliabilityEvaluator
Build the evaluator.

Source

View on GitHub

praisonai/src/eval/mod.rs at line 583