class

OpenAI::ChatCompletionRequestMessageContentPartImage

Inherits JSON::Serializable < Reference < Object

Learn about image inputs.

Constructors

new(type_value : ChatCompletionRequestMessageContentPartImageType = ChatCompletionRequestMessageContentPartImageType::ImageUrl, image_url : ChatCompletionRequestMessageContentPartImageImageUrl = ChatCompletionRequestMessageContentPartImageImageUrl.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

image_url
Source
image_url=(image_url : ChatCompletionRequestMessageContentPartImageImageUrl)
Source
type_value

The type of the content part.

Source
type_value=(type_value : ChatCompletionRequestMessageContentPartImageType)

The type of the content part.

Source