OpenAI::ComputerScreenshotImage
Inherits JSON::Serializable < Reference < Object
A computer screenshot image used with the computer use tool.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ComputerScreenshotImageType = ComputerScreenshotImageType::ComputerScreenshot, image_url : String | Nil = nil, file_id : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
The identifier of an uploaded file that contains the screenshot.
type_value
Specifies the event type. For a computer screenshot, this property is
always set to computer_screenshot.
type_value=(type_value : ComputerScreenshotImageType)
Specifies the event type. For a computer screenshot, this property is
always set to computer_screenshot.