Class AsyncEvaluationSetClient
- java.lang.Object
-
- ai.extend.resources.evaluationset.AsyncEvaluationSetClient
-
public class AsyncEvaluationSetClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncEvaluationSetClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<EvaluationSetCreateResponse>create(EvaluationSetCreateRequest request)Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given processor in Extend.java.util.concurrent.CompletableFuture<EvaluationSetCreateResponse>create(EvaluationSetCreateRequest request, RequestOptions requestOptions)Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given processor in Extend.java.util.concurrent.CompletableFuture<EvaluationSetGetResponse>get(java.lang.String id)Retrieve a specific evaluation set by ID.java.util.concurrent.CompletableFuture<EvaluationSetGetResponse>get(java.lang.String id, RequestOptions requestOptions)Retrieve a specific evaluation set by ID.java.util.concurrent.CompletableFuture<EvaluationSetListResponse>list()List evaluation sets in your account.java.util.concurrent.CompletableFuture<EvaluationSetListResponse>list(EvaluationSetListRequest request)List evaluation sets in your account.java.util.concurrent.CompletableFuture<EvaluationSetListResponse>list(EvaluationSetListRequest request, RequestOptions requestOptions)List evaluation sets in your account.AsyncRawEvaluationSetClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncEvaluationSetClient
public AsyncEvaluationSetClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawEvaluationSetClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public java.util.concurrent.CompletableFuture<EvaluationSetListResponse> list()
List evaluation sets in your account. You can use theprocessorIdparameter to filter evaluation sets by processor.This endpoint returns a paginated response. You can use the
nextPageTokento fetch subsequent results.
-
list
public java.util.concurrent.CompletableFuture<EvaluationSetListResponse> list(EvaluationSetListRequest request)
List evaluation sets in your account. You can use theprocessorIdparameter to filter evaluation sets by processor.This endpoint returns a paginated response. You can use the
nextPageTokento fetch subsequent results.
-
list
public java.util.concurrent.CompletableFuture<EvaluationSetListResponse> list(EvaluationSetListRequest request, RequestOptions requestOptions)
List evaluation sets in your account. You can use theprocessorIdparameter to filter evaluation sets by processor.This endpoint returns a paginated response. You can use the
nextPageTokento fetch subsequent results.
-
create
public java.util.concurrent.CompletableFuture<EvaluationSetCreateResponse> create(EvaluationSetCreateRequest request)
Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given processor in Extend. This endpoint will create a new evaluation set in Extend, which items can be added to using the Create Evaluation Set Item endpoint.Note: it is not necessary to create an evaluation set via API. You can also create an evaluation set via the Extend dashboard and take the ID from there.
-
create
public java.util.concurrent.CompletableFuture<EvaluationSetCreateResponse> create(EvaluationSetCreateRequest request, RequestOptions requestOptions)
Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given processor in Extend. This endpoint will create a new evaluation set in Extend, which items can be added to using the Create Evaluation Set Item endpoint.Note: it is not necessary to create an evaluation set via API. You can also create an evaluation set via the Extend dashboard and take the ID from there.
-
get
public java.util.concurrent.CompletableFuture<EvaluationSetGetResponse> get(java.lang.String id)
Retrieve a specific evaluation set by ID. This returns an evaluation set object, but does not include the items in the evaluation set. You can use the List Evaluation Set Items endpoint to get the items in an evaluation set.
-
get
public java.util.concurrent.CompletableFuture<EvaluationSetGetResponse> get(java.lang.String id, RequestOptions requestOptions)
Retrieve a specific evaluation set by ID. This returns an evaluation set object, but does not include the items in the evaluation set. You can use the List Evaluation Set Items endpoint to get the items in an evaluation set.
-
-