EvaluatorGenerationInputs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of EvaluatorGenerationInputs.
public EvaluatorGenerationInputs(System.Collections.Generic.IEnumerable<Azure.AI.Projects.EvaluatorGenerationJobSource> sources, string model, string evaluatorName);
new Azure.AI.Projects.EvaluatorGenerationInputs : seq<Azure.AI.Projects.EvaluatorGenerationJobSource> * string * string -> Azure.AI.Projects.EvaluatorGenerationInputs
Public Sub New (sources As IEnumerable(Of EvaluatorGenerationJobSource), model As String, evaluatorName As String)
Parameters
- 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 (immutable identifier). 1-256 characters; allowed characters are ASCII letters, digits, underscore (_), period (.), tilde (~), and hyphen (-). The prefix builtin. is reserved for system-managed evaluators and is rejected by the service. If an evaluator with this name already exists in the project (and is rubric-subtype), the service creates a new version under the same name and uses the prior version's dimensions as context for incremental improvement (foundation of the post-//build adaptive loop). Old versions remain queryable via get_version(name, version). If the existing evaluator is not a rubric-subtype evaluator (built-in, prompt-based, code-based), the request is rejected with 400 Bad Request.
Exceptions
sources, model or evaluatorName is null.