Freigeben über


AzureAIProjectsModelFactory.EvaluatorVersion Method

Definition

Evaluator Definition.

public static Azure.AI.Projects.EvaluatorVersion EvaluatorVersion(string displayName = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Azure.AI.Projects.EvaluatorType evaluatorType = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.EvaluatorCategory> categories = default, Azure.AI.Projects.EvaluatorDefinition definition = default, string createdBy = default, long createdAt = 0, long modifiedAt = 0, string id = default, string name = default, string version = default, string description = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member EvaluatorVersion : string * System.Collections.Generic.IDictionary<string, string> * Azure.AI.Projects.EvaluatorType * seq<Azure.AI.Projects.EvaluatorCategory> * Azure.AI.Projects.EvaluatorDefinition * string * int64 * int64 * string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Azure.AI.Projects.EvaluatorVersion
Public Shared Function EvaluatorVersion (Optional displayName As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional evaluatorType As EvaluatorType = Nothing, Optional categories As IEnumerable(Of EvaluatorCategory) = Nothing, Optional definition As EvaluatorDefinition = Nothing, Optional createdBy As String = Nothing, Optional createdAt As Long = 0, Optional modifiedAt As Long = 0, Optional id As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional description As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As EvaluatorVersion

Parameters

displayName
String

Display Name for evaluator. It helps to find the evaluator easily in AI Foundry. It does not need to be unique.

metadata
IDictionary<String,String>

Metadata about the evaluator.

evaluatorType
EvaluatorType

The type of the evaluator.

categories
IEnumerable<EvaluatorCategory>

The categories of the evaluator.

definition
EvaluatorDefinition

Definition of the evaluator.

createdBy
String

Creator of the evaluator.

createdAt
Int64

Creation date/time of the evaluator.

modifiedAt
Int64

Last modified date/time of the evaluator.

id
String

Asset ID, a unique identifier for the asset.

name
String

The name of the resource.

version
String

The version of the resource.

description
String

The asset description text.

tags
IDictionary<String,String>

Tag dictionary. Tags can be added, removed, and updated.

Returns

A new EvaluatorVersion instance for mocking.

Applies to