OpenAI::ChatCompletionRequestMessageContentPartFile
Inherits JSON::Serializable < Reference < Object
Learn about file inputs for text generation.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ChatCompletionRequestMessageContentPartFileType = ChatCompletionRequestMessageContentPartFileType::File, file : ChatCompletionRequestMessageContentPartFileFile = ChatCompletionRequestMessageContentPartFileFile.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
file
Sourcefile=(file : ChatCompletionRequestMessageContentPartFileFile)
Sourcetype_value=(type_value : ChatCompletionRequestMessageContentPartFileType)
The type of the content part. Always file.