Class ChatCompletionServiceImpl.WithRawResponseImpl
- 
                    
                    
- All Implemented Interfaces:
 - 
                            
                            
com.openai.services.blocking.chat.ChatCompletionService.WithRawResponse 
public final class ChatCompletionServiceImpl.WithRawResponseImpl implements ChatCompletionService.WithRawResponse
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description ChatCompletionService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. MessageService.WithRawResponsemessages()HttpResponseFor<ChatCompletion>create(ChatCompletionCreateParams params, RequestOptions requestOptions)HttpResponseFor<StreamResponse<ChatCompletionChunk>>createStreaming(ChatCompletionCreateParams params, RequestOptions requestOptions)HttpResponseFor<ChatCompletion>retrieve(ChatCompletionRetrieveParams params, RequestOptions requestOptions)HttpResponseFor<ChatCompletion>update(ChatCompletionUpdateParams params, RequestOptions requestOptions)HttpResponseFor<ChatCompletionListPage>list(ChatCompletionListParams params, RequestOptions requestOptions)HttpResponseFor<ChatCompletionDeleted>delete(ChatCompletionDeleteParams params, RequestOptions requestOptions)- 
                                            
                                        
                                            
Methods inherited from class com.openai.services.blocking.chat.ChatCompletionService.WithRawResponse
create, createStreaming, delete, delete, delete, delete, delete, list, list, list, retrieve, retrieve, retrieve, retrieve, retrieve, update, update, update - 
                                        
                                    
                                        
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withOptions
ChatCompletionService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
messages
MessageService.WithRawResponse messages()
 
- 
                                        
create
HttpResponseFor<ChatCompletion> create(ChatCompletionCreateParams params, RequestOptions requestOptions)
 
- 
                                        
createStreaming
HttpResponseFor<StreamResponse<ChatCompletionChunk>> createStreaming(ChatCompletionCreateParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
HttpResponseFor<ChatCompletion> retrieve(ChatCompletionRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
update
HttpResponseFor<ChatCompletion> update(ChatCompletionUpdateParams params, RequestOptions requestOptions)
 
- 
                                        
list
HttpResponseFor<ChatCompletionListPage> list(ChatCompletionListParams params, RequestOptions requestOptions)
 
- 
                                        
delete
HttpResponseFor<ChatCompletionDeleted> delete(ChatCompletionDeleteParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                                            
                                        
                                            
 
 -