AccuracyEvaluatorBuilder
Defined in the eval module.Rust AI Agent SDK Builder for AccuracyEvaluator.
Fields
| Name | Type | Description |
|---|---|---|
input | Option<String> | - |
expected | Option<String> | - |
actual | Option<String> | - |
config | EvaluatorConfig | - |
Methods
input
| Name | Type |
|---|---|
input | impl Into<String> |
expected
| Name | Type |
|---|---|
expected | impl Into<String> |
actual
| Name | Type |
|---|---|
actual | impl Into<String> |
threshold
| Name | Type |
|---|---|
threshold | f64 |
build
Source
View on GitHub
praisonai/src/eval/mod.rs at line 383
