class

OpenAI::ComputerUsePreviewTool

Inherits JSON::Serializable < Reference < Object

A tool that controls a virtual computer. Learn more about the computer tool.

Constructors

new(type_value : ComputerUsePreviewToolType = ComputerUsePreviewToolType::ComputerUsePreview, environment : ComputerEnvironment = ComputerEnvironment::Windows, display_width : Int64 = 0, display_height : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

display_height

The height of the computer display.

Source
display_height=(display_height : Int64)

The height of the computer display.

Source
display_width

The width of the computer display.

Source
display_width=(display_width : Int64)

The width of the computer display.

Source
environment

The type of computer environment to control.

Source
environment=(environment : ComputerEnvironment)

The type of computer environment to control.

Source
type_value

The type of the computer use tool. Always computer_use_preview.

Source
type_value=(type_value : ComputerUsePreviewToolType)

The type of the computer use tool. Always computer_use_preview.

Source