Class ChatCompletionMessage.FunctionCall
- 
                    
                    - All Implemented Interfaces:
 
 @Deprecated(message = "deprecated") public final class ChatCompletionMessage.FunctionCall Deprecated and replaced by tool_calls. The name and arguments of a function that should be called, as generated by the model.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classChatCompletionMessage.FunctionCall.BuilderA builder for FunctionCall. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringarguments()The arguments to call the function with, as generated by the model in JSON format. final Stringname()The name of the function to call. final JsonField<String>_arguments()Returns the raw JSON value of arguments. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final ChatCompletionMessage.FunctionCall.BuildertoBuilder()final ChatCompletionMessage.FunctionCallvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionMessage.FunctionCall.Builderbuilder()Returns a mutable builder for constructing an instance of FunctionCall. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        argumentsfinal String arguments() The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function. 
 - 
                                        _argumentsfinal JsonField<String> _arguments() Returns the raw JSON value of arguments. Unlike arguments, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _namefinal JsonField<String> _name() Returns the raw JSON value of name. Unlike name, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ChatCompletionMessage.FunctionCall.Builder toBuilder() 
 - 
                                        validatefinal ChatCompletionMessage.FunctionCall validate() 
 - 
                                        builderfinal static ChatCompletionMessage.FunctionCall.Builder builder() Returns a mutable builder for constructing an instance of FunctionCall. The following fields are required: .arguments() .name()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-