Package com.openai.services.async
Interface EvalServiceAsync
-
- All Implemented Interfaces:
public interface EvalServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
EvalServiceAsync.WithRawResponse
A view of EvalServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract EvalServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
runs
abstract RunServiceAsync runs()
-
create
CompletableFuture<EvalCreateResponse> create(EvalCreateParams params)
Create the structure of an evaluation that can be used to test a model's performance. An evaluation is a set of testing criteria and a datasource. After creating an evaluation, you can run it on different models and model parameters. We support several types of graders and datasources. For more information, see the Evals guide.
-
create
abstract CompletableFuture<EvalCreateResponse> create(EvalCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<EvalRetrieveResponse> retrieve(EvalRetrieveParams params)
Get an evaluation by ID.
-
retrieve
abstract CompletableFuture<EvalRetrieveResponse> retrieve(EvalRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<EvalUpdateResponse> update(EvalUpdateParams params)
Update certain properties of an evaluation.
-
update
abstract CompletableFuture<EvalUpdateResponse> update(EvalUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<EvalListPageAsync> list()
List evaluations for a project.
-
list
abstract CompletableFuture<EvalListPageAsync> list(EvalListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<EvalListPageAsync> list(EvalListParams params)
-
list
CompletableFuture<EvalListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<EvalDeleteResponse> delete(EvalDeleteParams params)
Delete an evaluation.
-
delete
abstract CompletableFuture<EvalDeleteResponse> delete(EvalDeleteParams params, RequestOptions requestOptions)
-
-
-
-