Package com.openai.services.blocking
Class BatchServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.BatchService
public final class BatchServiceImpl implements BatchService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BatchService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. BatchServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Batchcreate(BatchCreateParams params, RequestOptions requestOptions)Batchretrieve(BatchRetrieveParams params, RequestOptions requestOptions)BatchListPagelist(BatchListParams params, RequestOptions requestOptions)Batchcancel(BatchCancelParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.blocking.BatchService
cancel, cancel, cancel, cancel, cancel, create, list, list, list, retrieve, retrieve, retrieve, retrieve, retrieve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
BatchService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
BatchService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
Batch create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
Batch retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
BatchListPage list(BatchListParams params, RequestOptions requestOptions)
-
cancel
Batch cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
-
-