Skip to main content

ProfileExt

Trait ProfileExt 

Source
pub trait ProfileExt {
    // Required methods
    fn id(&self) -> &str;
    fn get_assertion_by_id(&self, id: &str) -> Option<&AssertionTask>;
    fn get_llm_judge_by_id(&self, id: &str) -> Option<&LLMJudgeTask>;
    fn get_trace_assertion_by_id(&self, id: &str) -> Option<&TraceAssertionTask>;
    fn get_task_by_id(&self, id: &str) -> Option<&dyn TaskAccessor>;
    fn has_llm_tasks(&self) -> bool;
    fn has_trace_assertions(&self) -> bool;
}
Expand description

Extension trait for evaluation profiles Provides unified access to assertions and LLM judge tasks

Required Methods§

Implementors§