class

OpenAI::MessageDeltaContentImageFileObjectImageFile

Inherits JSON::Serializable < Reference < Object

Constructors

new(file_id : String | Nil = nil, detail : MessageDeltaContentImageFileObjectImageFileDetail | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

detail

Specifies the detail level of the image if specified by the user. low uses fewer tokens, you can opt in to high resolution using high.

Source
detail=(detail : MessageDeltaContentImageFileObjectImageFileDetail | Nil)

Specifies the detail level of the image if specified by the user. low uses fewer tokens, you can opt in to high resolution using high.

Source
file_id

The File ID of the image in the message content. Set purpose="vision" when uploading the File if you need to later display the file content.

Source
file_id=(file_id : String | Nil)

The File ID of the image in the message content. Set purpose="vision" when uploading the File if you need to later display the file content.

Source