View Source ExOpenAI.Components.ResponseFormatJsonObject (ex_openai.ex v2.0.0-beta2)
JSON object response format. An older method of generating JSON responses.
Using json_schema is recommended for models that support it. Note that the
model will not generate JSON without a system or user message instructing it
to do so.
Fields
:type- required -:json_object
The type of response format being defined. Alwaysjson_object.
Allowed values:"json_object"
Summary
Types
@type t() :: %ExOpenAI.Components.ResponseFormatJsonObject{type: :json_object}