Class AsyncEvaluationSetClient


  • public class AsyncEvaluationSetClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncEvaluationSetClient

        public AsyncEvaluationSetClient​(ClientOptions clientOptions)
    • Method Detail

      • list

        public java.util.concurrent.CompletableFuture<EvaluationSetListResponse> list()
        List evaluation sets in your account. You can use the processorId parameter to filter evaluation sets by processor.

        This endpoint returns a paginated response. You can use the nextPageToken to fetch subsequent results.

      • list

        public java.util.concurrent.CompletableFuture<EvaluationSetListResponse> list​(EvaluationSetListRequest request)
        List evaluation sets in your account. You can use the processorId parameter to filter evaluation sets by processor.

        This endpoint returns a paginated response. You can use the nextPageToken to fetch subsequent results.

      • list

        public java.util.concurrent.CompletableFuture<EvaluationSetListResponse> list​(EvaluationSetListRequest request,
                                                                                      RequestOptions requestOptions)
        List evaluation sets in your account. You can use the processorId parameter to filter evaluation sets by processor.

        This endpoint returns a paginated response. You can use the nextPageToken to 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.