Interface EvalService
-
- All Implemented Interfaces:
public interface EvalService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceEvalService.WithRawResponseA view of EvalService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract EvalService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. SummarizeExperimentResponsecreate(EvalCreateParams params)Launch an evaluation. abstract SummarizeExperimentResponsecreate(EvalCreateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract EvalService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
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 SummarizeExperimentResponse create(EvalCreateParams params, RequestOptions requestOptions)
-
-
-
-