async_evaluate_llm

Function async_evaluate_llm 

Source
pub async fn async_evaluate_llm(
    workflow: Workflow,
    records: Vec<LLMEvalRecord>,
    config: &Arc<EvaluationConfig>,
) -> Result<LLMEvalResults, EvaluationError>
Expand description

Main orchestration function that decides which execution path to take

ยงArguments

  • workflow: The workflow to execute.
  • records: The data records to evaluate.
  • embedder: Optional embedder for embedding-based evaluations.
  • embedding_targets: Optional list of fields to embed.