Class OpenAIClientImpl
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.openai.client.OpenAIClient
 
 public final class OpenAIClientImpl implements OpenAIClient 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classOpenAIClientImpl.WithRawResponseImpl
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description OpenAIClientImpl(ClientOptions clientOptions)
 - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Constructor Detail- 
                                        OpenAIClientImplOpenAIClientImpl(ClientOptions clientOptions) 
 
- 
                                        
 - 
                                
                            
                                Method Detail- 
                                        asyncOpenAIClientAsync async() Returns a version of this client that uses asynchronous execution. The returned client shares its resources, like its connection pool and thread pools, with this client. 
 - 
                                        withRawResponseOpenAIClient.WithRawResponse withRawResponse() Returns a view of this service that provides access to raw HTTP responses for each method. 
 - 
                                        withOptionsOpenAIClient withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        completionsCompletionService completions() 
 - 
                                        chatChatService chat() 
 - 
                                        embeddingsEmbeddingService embeddings() 
 - 
                                        filesFileService files() 
 - 
                                        imagesImageService images() 
 - 
                                        audioAudioService audio() 
 - 
                                        moderationsModerationService moderations() 
 - 
                                        modelsModelService models() 
 - 
                                        fineTuningFineTuningService fineTuning() 
 - 
                                        gradersGraderService graders() 
 - 
                                        vectorStoresVectorStoreService vectorStores() 
 - 
                                        webhooksWebhookService webhooks() 
 - 
                                        betaBetaService beta() 
 - 
                                        batchesBatchService batches() 
 - 
                                        uploadsUploadService uploads() 
 - 
                                        responsesResponseService responses() 
 - 
                                        realtimeRealtimeService realtime() 
 - 
                                        conversationsConversationService conversations() 
 - 
                                        evalsEvalService evals() 
 - 
                                        containersContainerService containers() 
 - 
                                        videosVideoService 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. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-