pub type LLMResponseFormat = ResponseFormat;Aliased Type§
pub struct LLMResponseFormat {
pub name: String,
pub schema: Value,
}Fields§
§name: StringName identifier for this schema.
Used for logging and debugging. Should be descriptive of the expected output.
schema: ValueJSON Schema specification defining the expected output structure.
The model will attempt to return JSON that validates against this schema.
Include type, properties, required, and description fields.