Interface RunService
-
- All Implemented Interfaces:
public interface RunService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
RunService.WithRawResponse
A view of RunService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract RunService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. abstract OutputItemService
outputItems()
RunCreateResponse
create(RunCreateParams params)
Create a new evaluation run. abstract RunCreateResponse
create(RunCreateParams params, RequestOptions requestOptions)
RunRetrieveResponse
retrieve(RunRetrieveParams params)
Get an evaluation run by ID. abstract RunRetrieveResponse
retrieve(RunRetrieveParams params, RequestOptions requestOptions)
RunListPage
list(RunListParams params)
Get a list of runs for an evaluation. abstract RunListPage
list(RunListParams params, RequestOptions requestOptions)
RunDeleteResponse
delete(RunDeleteParams params)
Delete an eval run. abstract RunDeleteResponse
delete(RunDeleteParams params, RequestOptions requestOptions)
RunCancelResponse
cancel(RunCancelParams params)
Cancel an ongoing evaluation run. abstract RunCancelResponse
cancel(RunCancelParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract RunService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
outputItems
abstract OutputItemService outputItems()
-
create
RunCreateResponse create(RunCreateParams params)
Create a new evaluation run. This is the endpoint that will kick off grading.
-
create
abstract RunCreateResponse create(RunCreateParams params, RequestOptions requestOptions)
-
retrieve
RunRetrieveResponse retrieve(RunRetrieveParams params)
Get an evaluation run by ID.
-
retrieve
abstract RunRetrieveResponse retrieve(RunRetrieveParams params, RequestOptions requestOptions)
-
list
RunListPage list(RunListParams params)
Get a list of runs for an evaluation.
-
list
abstract RunListPage list(RunListParams params, RequestOptions requestOptions)
-
delete
RunDeleteResponse delete(RunDeleteParams params)
Delete an eval run.
-
delete
abstract RunDeleteResponse delete(RunDeleteParams params, RequestOptions requestOptions)
-
cancel
RunCancelResponse cancel(RunCancelParams params)
Cancel an ongoing evaluation run.
-
cancel
abstract RunCancelResponse cancel(RunCancelParams params, RequestOptions requestOptions)
-
-
-
-