OpenAI::ChatCompletionRequestMessageContentPartText
Inherits JSON::Serializable < Reference < Object
Learn about text inputs.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ChatCompletionRequestMessageContentPartTextType = ChatCompletionRequestMessageContentPartTextType::Text, text : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ChatCompletionRequestMessageContentPartTextType)
The type of the content part.