OpenAI::OutputTextContent
Inherits JSON::Serializable < Reference < Object
A text output from the model.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : OutputTextContentType = OutputTextContentType::OutputText, text : String = "", annotations : Array(Annotation) = [] of Annotation, logprobs : Array(LogProb) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
logprobs
Sourcetype_value=(type_value : OutputTextContentType)
The type of the output text. Always output_text.