Package com.openai.services.async.evals
Interface RunServiceAsync
-
- All Implemented Interfaces:
public interface RunServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
RunServiceAsync.WithRawResponse
A view of RunServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract RunServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
outputItems
abstract OutputItemServiceAsync outputItems()
-
create
CompletableFuture<RunCreateResponse> create(String evalId, RunCreateParams params)
Kicks off a new run for a given evaluation, specifying the data source, and what model configuration to use to test. The datasource will be validated against the schema specified in the config of the evaluation.
-
create
CompletableFuture<RunCreateResponse> create(String evalId, RunCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<RunCreateResponse> create(RunCreateParams params)
-
create
abstract CompletableFuture<RunCreateResponse> create(RunCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<RunRetrieveResponse> retrieve(String runId, RunRetrieveParams params)
Get an evaluation run by ID.
-
retrieve
CompletableFuture<RunRetrieveResponse> retrieve(String runId, RunRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<RunRetrieveResponse> retrieve(RunRetrieveParams params)
-
retrieve
abstract CompletableFuture<RunRetrieveResponse> retrieve(RunRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<RunListPageAsync> list(String evalId)
Get a list of runs for an evaluation.
-
list
CompletableFuture<RunListPageAsync> list(String evalId, RunListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<RunListPageAsync> list(String evalId, RunListParams params)
-
list
abstract CompletableFuture<RunListPageAsync> list(RunListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<RunListPageAsync> list(RunListParams params)
-
list
CompletableFuture<RunListPageAsync> list(String evalId, RequestOptions requestOptions)
-
delete
CompletableFuture<RunDeleteResponse> delete(String runId, RunDeleteParams params)
Delete an eval run.
-
delete
CompletableFuture<RunDeleteResponse> delete(String runId, RunDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<RunDeleteResponse> delete(RunDeleteParams params)
-
delete
abstract CompletableFuture<RunDeleteResponse> delete(RunDeleteParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<RunCancelResponse> cancel(String runId, RunCancelParams params)
Cancel an ongoing evaluation run.
-
cancel
CompletableFuture<RunCancelResponse> cancel(String runId, RunCancelParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<RunCancelResponse> cancel(RunCancelParams params)
-
cancel
abstract CompletableFuture<RunCancelResponse> cancel(RunCancelParams params, RequestOptions requestOptions)
-
-
-
-