Package com.openai.services.async
Interface BatchServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface BatchServiceAsync.WithRawResponse
A view of BatchServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
create
CompletableFuture<HttpResponseFor<Batch>> create(BatchCreateParams params)
Returns a raw HTTP response for
post /batches
, but is otherwise the same as BatchServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<Batch>> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Batch>> retrieve(String batchId)
Returns a raw HTTP response for
get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<Batch>> retrieve(String batchId, BatchRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Batch>> retrieve(String batchId, BatchRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params)
-
retrieve
CompletableFuture<HttpResponseFor<Batch>> retrieve(String batchId, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<BatchListPageAsync>> list()
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params)
-
list
CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(RequestOptions requestOptions)
-
cancel
CompletableFuture<HttpResponseFor<Batch>> cancel(String batchId)
Returns a raw HTTP response for
post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.
-
cancel
CompletableFuture<HttpResponseFor<Batch>> cancel(String batchId, BatchCancelParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<HttpResponseFor<Batch>> cancel(String batchId, BatchCancelParams params)
-
cancel
abstract CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params)
-
cancel
CompletableFuture<HttpResponseFor<Batch>> cancel(String batchId, RequestOptions requestOptions)
-
-
-
-