class

OpenAI::ResponseFormatTextPython

Inherits JSON::Serializable < Reference < Object

Configure the model to generate valid Python code. See the custom grammars guide for more details.

Constructors

new(type_value : ResponseFormatTextPythonType = ResponseFormatTextPythonType::Python)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

type_value

The type of response format being defined. Always python.

Source
type_value=(type_value : ResponseFormatTextPythonType)

The type of response format being defined. Always python.

Source