Interface EvalServiceAsync
-
- All Implemented Interfaces:
public interface EvalServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceEvalServiceAsync.WithRawResponseA view of EvalServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract EvalServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<SummarizeExperimentResponse>create(EvalCreateParams params)Launch an evaluation. abstract CompletableFuture<SummarizeExperimentResponse>create(EvalCreateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract EvalServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<SummarizeExperimentResponse> create(EvalCreateParams params)
Launch an evaluation. This is the API-equivalent of the
Evalfunction that is built into the Braintrust SDK. In the Eval API, you provide pointers to a dataset, task function, and scoring functions. The API will then run the evaluation, create an experiment, and return the results along with a link to the experiment. To learn more about evals, see the Evals guide.
-
create
abstract CompletableFuture<SummarizeExperimentResponse> create(EvalCreateParams params, RequestOptions requestOptions)
-
-
-
-