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
@MustBeClosed() CompletableFuture<HttpResponseFor<Batch>> create(BatchCreateParams params)
Returns a raw HTTP response for
post /batches
, but is otherwise the same as BatchServiceAsync.create.
-
create
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Batch>> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params)
Returns a raw HTTP response for
get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.
-
retrieve
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<BatchListPageAsync>> list()
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchServiceAsync.list.
-
list
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(RequestOptions requestOptions)
-
cancel
@MustBeClosed() CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params)
Returns a raw HTTP response for
post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.
-
cancel
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
-
-