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.
PerformanceEvaluatorBuilder
Defined in the eval module.
Rust AI Agent SDK
Builder for PerformanceEvaluator.
Fields
| Name | Type | Description |
|---|
max_duration | Option<Duration> | - |
max_ttft | Option<Duration> | - |
config | EvaluatorConfig | - |
Methods
max_duration
fn max_duration(mut self, duration: Duration) -> Self
Set maximum duration.
Parameters:
max_ttft
fn max_ttft(mut self, ttft: Duration) -> Self
Set maximum TTFT.
Parameters:
threshold
fn threshold(mut self, threshold: f64) -> Self
Set threshold.
Parameters:
build
fn build(self) -> PerformanceEvaluator
Build the evaluator.
Source
View on GitHub
praisonai/src/eval/mod.rs at line 488