Class ResponseFormatTextJsonSchemaConfig
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseFormatTextJsonSchemaConfigJSON Schema response format. Used to generate structured JSON responses. Learn more about Structured Outputs. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classResponseFormatTextJsonSchemaConfig.BuilderA builder for ResponseFormatTextJsonSchemaConfig. public final classResponseFormatTextJsonSchemaConfig.SchemaThe schema for the response format, described as a JSON Schema object. Learn how to build JSON schemas here. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringname()The name of the response format. final ResponseFormatTextJsonSchemaConfig.Schemaschema()The schema for the response format, described as a JSON Schema object. final JsonValue_type()The type of response format being defined. final Optional<String>description()A description of what the response format is for, used by the model to determine how to respond in the format. final Optional<Boolean>strict()Whether to enable strict schema adherence when generating the output. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<ResponseFormatTextJsonSchemaConfig.Schema>_schema()Returns the raw JSON value of schema. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<Boolean>_strict()Returns the raw JSON value of strict. final Map<String, JsonValue>_additionalProperties()final ResponseFormatTextJsonSchemaConfig.BuildertoBuilder()final ResponseFormatTextJsonSchemaConfigvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseFormatTextJsonSchemaConfig.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseFormatTextJsonSchemaConfig. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        namefinal String name() The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. 
 - 
                                        schemafinal ResponseFormatTextJsonSchemaConfig.Schema schema() The schema for the response format, described as a JSON Schema object. Learn how to build JSON schemas here. 
 - 
                                        _typefinal JsonValue _type() The type of response format being defined. Always json_schema.Expected to always return the following: JsonValue.from("json_schema")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        descriptionfinal Optional<String> description() A description of what the response format is for, used by the model to determine how to respond in the format. 
 - 
                                        strictfinal Optional<Boolean> strict() Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schemafield. Only a subset of JSON Schema is supported whenstrictistrue. To learn more, read the Structured Outputs guide.
 - 
                                        _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. 
 - 
                                        _schemafinal JsonField<ResponseFormatTextJsonSchemaConfig.Schema> _schema() Returns the raw JSON value of schema. Unlike schema, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _descriptionfinal JsonField<String> _description() Returns the raw JSON value of description. Unlike description, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _strictfinal JsonField<Boolean> _strict() Returns the raw JSON value of strict. Unlike strict, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ResponseFormatTextJsonSchemaConfig.Builder toBuilder() 
 - 
                                        validatefinal ResponseFormatTextJsonSchemaConfig validate() 
 - 
                                        builderfinal static ResponseFormatTextJsonSchemaConfig.Builder builder() Returns a mutable builder for constructing an instance of ResponseFormatTextJsonSchemaConfig. The following fields are required: .name() .schema()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-