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(pull : JSON::PullParser)
Sourcenew(type_value : ResponseFormatTextPythonType = ResponseFormatTextPythonType::Python)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ResponseFormatTextPythonType)
The type of response format being defined. Always python.