Package com.openai.services.async
        Interface BatchServiceAsync
- 
                    
                    - All Implemented Interfaces:
 
 public interface BatchServiceAsync
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceBatchServiceAsync.WithRawResponseA view of BatchServiceAsync that provides access to raw HTTP responses for each method. 
 - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        withRawResponseabstract BatchServiceAsync.WithRawResponse withRawResponse() Returns a view of this service that provides access to raw HTTP responses for each method. 
 - 
                                        withOptionsabstract BatchServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        createCompletableFuture<Batch> create(BatchCreateParams params) Creates and executes a batch from an uploaded file of requests 
 - 
                                        createabstract CompletableFuture<Batch> create(BatchCreateParams params, RequestOptions requestOptions) 
 - 
                                        retrieveCompletableFuture<Batch> retrieve(String batchId) Retrieves a batch. 
 - 
                                        retrieveCompletableFuture<Batch> retrieve(String batchId, BatchRetrieveParams params, RequestOptions requestOptions) 
 - 
                                        retrieveCompletableFuture<Batch> retrieve(String batchId, BatchRetrieveParams params) 
 - 
                                        retrieveabstract CompletableFuture<Batch> retrieve(BatchRetrieveParams params, RequestOptions requestOptions) 
 - 
                                        retrieveCompletableFuture<Batch> retrieve(BatchRetrieveParams params) 
 - 
                                        retrieveCompletableFuture<Batch> retrieve(String batchId, RequestOptions requestOptions) 
 - 
                                        listCompletableFuture<BatchListPageAsync> list() List your organization's batches. 
 - 
                                        listabstract CompletableFuture<BatchListPageAsync> list(BatchListParams params, RequestOptions requestOptions) 
 - 
                                        listCompletableFuture<BatchListPageAsync> list(BatchListParams params) 
 - 
                                        listCompletableFuture<BatchListPageAsync> list(RequestOptions requestOptions) 
 - 
                                        cancelCompletableFuture<Batch> cancel(String batchId) Cancels an in-progress batch. The batch will be in status cancellingfor up to 10 minutes, before changing tocancelled, where it will have partial results (if any) available in the output file.
 - 
                                        cancelCompletableFuture<Batch> cancel(String batchId, BatchCancelParams params, RequestOptions requestOptions) 
 - 
                                        cancelCompletableFuture<Batch> cancel(String batchId, BatchCancelParams params) 
 - 
                                        cancelabstract CompletableFuture<Batch> cancel(BatchCancelParams params, RequestOptions requestOptions) 
 - 
                                        cancelCompletableFuture<Batch> cancel(BatchCancelParams params) 
 - 
                                        cancelCompletableFuture<Batch> cancel(String batchId, RequestOptions requestOptions) 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-