EvaluatorGenerationInputs Constructor

Definition

Initializes a new instance of EvaluatorGenerationInputs.

public EvaluatorGenerationInputs(string name, System.Collections.Generic.IEnumerable<Azure.AI.Projects.EvaluatorGenerationJobSource> sources, string model, string evaluatorName);
new Azure.AI.Projects.EvaluatorGenerationInputs : string * seq<Azure.AI.Projects.EvaluatorGenerationJobSource> * string * string -> Azure.AI.Projects.EvaluatorGenerationInputs
Public Sub New (name As String, sources As IEnumerable(Of EvaluatorGenerationJobSource), model As String, evaluatorName As String)

Parameters

name
String

Display name for this generation job.

sources
IEnumerable<EvaluatorGenerationJobSource>

Source materials for generation — agent descriptions, prompts, traces, or datasets. Each entry is an EvaluatorGenerationJobSource variant discriminated by type.

model
String

The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must provide their own model rather than relying on service-owned capacity.

evaluatorName
String

The evaluator name to create or update. If an evaluator with this name already exists, the service retrieves the latest version's criteria as context for improvement.

Exceptions

name, sources, model or evaluatorName is null.

Applies to