spawn_evaluation_tasks_without_embeddings

Function spawn_evaluation_tasks_without_embeddings 

Source
pub async fn spawn_evaluation_tasks_without_embeddings(
    workflow: Workflow,
    records: Vec<LLMEvalRecord>,
) -> JoinSet<(String, Option<LLMEvalTaskResult>)>
Expand description

Spawn tasks without embedding support This function will spawn a task that runs the workflows and extracts the results If there is an error during workflow execution, it will log the error and return None for that record

§Arguments

  • workflow - The workflow to execute for each record.
  • records - The list of LLMEvalRecords to process.

§Returns

A JoinSet containing tuples of record ID and optional LLMEvalTaskResult.