Class OpenAIClientAsyncImpl
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.openai.client.OpenAIClientAsync
 
 public final class OpenAIClientAsyncImpl implements OpenAIClientAsync 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classOpenAIClientAsyncImpl.WithRawResponseImpl
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description OpenAIClientAsyncImpl(ClientOptions clientOptions)
 - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Constructor Detail- 
                                        OpenAIClientAsyncImplOpenAIClientAsyncImpl(ClientOptions clientOptions) 
 
- 
                                        
 - 
                                
                            
                                Method Detail- 
                                        syncOpenAIClient sync() Returns a version of this client that uses synchronous execution. The returned client shares its resources, like its connection pool and thread pools, with this client. 
 - 
                                        withRawResponseOpenAIClientAsync.WithRawResponse withRawResponse() Returns a view of this service that provides access to raw HTTP responses for each method. 
 - 
                                        withOptionsOpenAIClientAsync withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        completionsCompletionServiceAsync completions() 
 - 
                                        chatChatServiceAsync chat() 
 - 
                                        embeddingsEmbeddingServiceAsync embeddings() 
 - 
                                        filesFileServiceAsync files() 
 - 
                                        imagesImageServiceAsync images() 
 - 
                                        audioAudioServiceAsync audio() 
 - 
                                        moderationsModerationServiceAsync moderations() 
 - 
                                        modelsModelServiceAsync models() 
 - 
                                        fineTuningFineTuningServiceAsync fineTuning() 
 - 
                                        gradersGraderServiceAsync graders() 
 - 
                                        vectorStoresVectorStoreServiceAsync vectorStores() 
 - 
                                        webhooksWebhookServiceAsync webhooks() 
 - 
                                        betaBetaServiceAsync beta() 
 - 
                                        batchesBatchServiceAsync batches() 
 - 
                                        uploadsUploadServiceAsync uploads() 
 - 
                                        responsesResponseServiceAsync responses() 
 - 
                                        realtimeRealtimeServiceAsync realtime() 
 - 
                                        conversationsConversationServiceAsync conversations() 
 - 
                                        evalsEvalServiceAsync evals() 
 - 
                                        containersContainerServiceAsync containers() 
 - 
                                        videosVideoServiceAsync videos() 
 - 
                                        closeUnit close() Closes this client, relinquishing any underlying resources. This is purposefully not inherited from AutoCloseable because the client is long-lived and usually should not be synchronously closed via try-with-resources. It's also usually not necessary to call this method at all. the default HTTP client automatically releases threads and connections if they remain idle, but if you are writing an application that needs to aggressively release unused resources, then you may call this method. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-