Class EvaluationSetClient


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

      • EvaluationSetClient

        public EvaluationSetClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawEvaluationSetClient withRawResponse()
        Get responses with HTTP metadata like headers
      • list

        public 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 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 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 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 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 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 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.