Condividi tramite


Evaluators.GetLatestVersions Method

Definition

Overloads

Name Description
GetLatestVersions(Nullable<ListVersionsRequestType>, Nullable<Int32>, CancellationToken)

List the latest version of each evaluator.

GetLatestVersions(String, Nullable<Int32>, RequestOptions)

[Protocol Method] List the latest version of each evaluator

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetLatestVersions(Nullable<ListVersionsRequestType>, Nullable<Int32>, CancellationToken)

Source:
Evaluators.cs

List the latest version of each evaluator.

public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.EvaluatorVersion> GetLatestVersions(Azure.AI.Projects.ListVersionsRequestType? type = default, int? limit = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLatestVersions : Nullable<Azure.AI.Projects.ListVersionsRequestType> * Nullable<int> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.EvaluatorVersion>
override this.GetLatestVersions : Nullable<Azure.AI.Projects.ListVersionsRequestType> * Nullable<int> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.EvaluatorVersion>
Public Overridable Function GetLatestVersions (Optional type As Nullable(Of ListVersionsRequestType) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(Of EvaluatorVersion)

Parameters

type
Nullable<ListVersionsRequestType>

Filter evaluators by type. Possible values: 'all', 'custom', 'builtin'.

limit
Nullable<Int32>

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to

GetLatestVersions(String, Nullable<Int32>, RequestOptions)

Source:
Evaluators.cs

[Protocol Method] List the latest version of each evaluator

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.CollectionResult GetLatestVersions(string type, int? limit, System.ClientModel.Primitives.RequestOptions options);
abstract member GetLatestVersions : string * Nullable<int> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetLatestVersions : string * Nullable<int> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetLatestVersions (type As String, limit As Nullable(Of Integer), options As RequestOptions) As CollectionResult

Parameters

type
String

Filter evaluators by type. Possible values: 'all', 'custom', 'builtin'.

limit
Nullable<Int32>

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

options
RequestOptions

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to