Freigeben über


AzureAIProjectsModelFactory.EvalResult Method

Definition

Result of the evaluation.

public static Azure.AI.Projects.EvalResult EvalResult(string name = default, string type = default, float score = 0, bool passed = false);
static member EvalResult : string * string * single * bool -> Azure.AI.Projects.EvalResult
Public Shared Function EvalResult (Optional name As String = Nothing, Optional type As String = Nothing, Optional score As Single = 0, Optional passed As Boolean = false) As EvalResult

Parameters

name
String

name of the check.

type
String

type of the check.

score
Single

score.

passed
Boolean

indicates if the check passed or failed.

Returns

A new EvalResult instance for mocking.

Applies to