Package com.openai.services.async
        Class EmbeddingServiceAsyncImpl
- 
                    
                    
- All Implemented Interfaces:
 - 
                            
                            
com.openai.services.async.EmbeddingServiceAsync 
public final class EmbeddingServiceAsyncImpl implements EmbeddingServiceAsync
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEmbeddingServiceAsyncImpl.WithRawResponseImpl 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description EmbeddingServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. EmbeddingServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<CreateEmbeddingResponse>create(EmbeddingCreateParams params, RequestOptions requestOptions)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
EmbeddingServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
EmbeddingServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
create
CompletableFuture<CreateEmbeddingResponse> create(EmbeddingCreateParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -