| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
OpenAI.V1.ResponseFormat
Contents
Description
The ResponseFormat type
Synopsis
- data ResponseFormat
- data JSONSchema = JSONSchema {}
Types
data ResponseFormat Source #
An object specifying the format that the model must output
Constructors
| ResponseFormat_Text | |
| JSON_Object | |
| JSON_Schema | |
Fields | |
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
Constructors
| JSONSchema | |