Class AsyncRawEvaluationSetsClient
- java.lang.Object
-
- ai.extend.resources.evaluationsets.AsyncRawEvaluationSetsClient
-
public class AsyncRawEvaluationSetsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawEvaluationSetsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>>create(EvaluationSetsCreateRequest request)Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given extractor, classifier, or splitter.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>>create(EvaluationSetsCreateRequest request, RequestOptions requestOptions)Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given extractor, classifier, or splitter.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>>list()List evaluation sets in your account.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>>list(RequestOptions requestOptions)List evaluation sets in your account.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>>list(EvaluationSetsListRequest request)List evaluation sets in your account.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>>list(EvaluationSetsListRequest request, RequestOptions requestOptions)List evaluation sets in your account.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>>retrieve(java.lang.String id)Retrieve a specific evaluation set by ID.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>>retrieve(java.lang.String id, RequestOptions requestOptions)Retrieve a specific evaluation set by ID.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawEvaluationSetsClient
public AsyncRawEvaluationSetsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>> list()
List evaluation sets in your account.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>> list(RequestOptions requestOptions)
List evaluation sets in your account.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>> list(EvaluationSetsListRequest request)
List evaluation sets in your account.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSetsListResponse>> list(EvaluationSetsListRequest request, RequestOptions requestOptions)
List evaluation sets in your account.
-
create
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>> create(EvaluationSetsCreateRequest request)
Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given extractor, classifier, or splitter. This endpoint will create a new evaluation set, 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. To learn more about how to create evaluation sets, see the Evaluation Sets product page.
-
create
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>> create(EvaluationSetsCreateRequest request, RequestOptions requestOptions)
Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given extractor, classifier, or splitter. This endpoint will create a new evaluation set, 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. To learn more about how to create evaluation sets, see the Evaluation Sets product page.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>> retrieve(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.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<EvaluationSet>> retrieve(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.
-
-