Class ChatCompletionMessageFunctionToolCall.Function
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatCompletionMessageFunctionToolCall.FunctionThe function that the model called. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classChatCompletionMessageFunctionToolCall.Function.BuilderA builder for Function. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringarguments()The arguments to call the function with, as generated by the model in JSON format. final <T extends Any> Targuments(Class<T> functionParametersType)Gets the arguments to the function call, converting the values from the model in JSON format to an instance of a class that holds those values. 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 ChatCompletionMessageFunctionToolCall.Function.BuildertoBuilder()final ChatCompletionMessageFunctionToolCall.Functionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionMessageFunctionToolCall.Function.Builderbuilder()Returns a mutable builder for constructing an instance of Function. - 
                    
                    
                    - 
                                
                            
                                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 <T extends Any> T arguments(Class<T> functionParametersType) Gets the arguments to the function call, converting the values from the model in JSON format to an instance of a class that holds those values. The class must previously have been used to define the JSON schema for the function definition's parameters, so that the JSON corresponds to the structure of the given class. 
 - 
                                        _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 ChatCompletionMessageFunctionToolCall.Function.Builder toBuilder() 
 - 
                                        validatefinal ChatCompletionMessageFunctionToolCall.Function validate() 
 - 
                                        builderfinal static ChatCompletionMessageFunctionToolCall.Function.Builder builder() Returns a mutable builder for constructing an instance of Function. The following fields are required: .arguments() .name()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-