class

OpenAI::ResponseFormatText

Inherits JSON::Serializable < Reference < Object

Default response format. Used to generate text responses.

Constructors

new(type_value : ResponseFormatTextType = ResponseFormatTextType::Text)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

type_value

The type of response format being defined. Always text.

Source
type_value=(type_value : ResponseFormatTextType)

The type of response format being defined. Always text.

Source