Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The ResponseFormat
type
Synopsis
- data ResponseFormat
- data JSONSchema = JSONSchema {}
Types
data ResponseFormat Source #
An object specifying the format that the model must output
Instances
data JSONSchema Source #
Setting to { "type": "json_schema", "json_schema": {...} } enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the Structured Outputs guide