Package com.openai.services.blocking
        Interface CompletionService
- 
                    
                    - All Implemented Interfaces:
 
 public interface CompletionService
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceCompletionService.WithRawResponseA view of CompletionService that provides access to raw HTTP responses for each method. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract CompletionService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract CompletionServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Completioncreate(CompletionCreateParams params)Creates a completion for the provided prompt and parameters. abstract Completioncreate(CompletionCreateParams params, RequestOptions requestOptions)StreamResponse<Completion>createStreaming(CompletionCreateParams params)Creates a completion for the provided prompt and parameters. abstract StreamResponse<Completion>createStreaming(CompletionCreateParams params, RequestOptions requestOptions)- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        withRawResponseabstract CompletionService.WithRawResponse withRawResponse() Returns a view of this service that provides access to raw HTTP responses for each method. 
 - 
                                        withOptionsabstract CompletionService withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        createCompletion create(CompletionCreateParams params) Creates a completion for the provided prompt and parameters. 
 - 
                                        createabstract Completion create(CompletionCreateParams params, RequestOptions requestOptions) 
 - 
                                        createStreaming@MustBeClosed() StreamResponse<Completion> createStreaming(CompletionCreateParams params) Creates a completion for the provided prompt and parameters. 
 - 
                                        createStreaming@MustBeClosed() abstract StreamResponse<Completion> createStreaming(CompletionCreateParams params, RequestOptions requestOptions) 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-