Class ChatCompletionCreateParams.Function.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatCompletionCreateParams.Function.BuilderA builder for Function. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        namefinal ChatCompletionCreateParams.Function.Builder name(String name) The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. 
 - 
                                        namefinal ChatCompletionCreateParams.Function.Builder name(JsonField<String> name) Sets Builder.name to an arbitrary JSON value. You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        descriptionfinal ChatCompletionCreateParams.Function.Builder description(String description) A description of what the function does, used by the model to choose when and how to call the function. 
 - 
                                        descriptionfinal ChatCompletionCreateParams.Function.Builder description(JsonField<String> description) Sets Builder.description to an arbitrary JSON value. You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        parametersfinal ChatCompletionCreateParams.Function.Builder parameters(FunctionParameters parameters) The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format. Omitting parametersdefines a function with an empty parameter list.
 - 
                                        parametersfinal ChatCompletionCreateParams.Function.Builder parameters(JsonField<FunctionParameters> parameters) Sets Builder.parameters to an arbitrary JSON value. You should usually call Builder.parameters with a well-typed FunctionParameters value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatCompletionCreateParams.Function.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatCompletionCreateParams.Function.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatCompletionCreateParams.Function.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatCompletionCreateParams.Function.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatCompletionCreateParams.Function.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatCompletionCreateParams.Function build() Returns an immutable instance of Function. Further updates to this Builder will not mutate the returned instance. The following fields are required: .name()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-