View Source ExOpenAI.Components.ComputerUsePreviewTool (ex_openai.ex v2.0.0-beta2)
A tool that controls a virtual computer. Learn more about the computer tool.
Fields
:display_height- required -integer()
The height of the computer display.:display_width- required -integer()
The width of the computer display.:environment- required -ExOpenAI.Components.ComputerEnvironment.t()
The type of computer environment to control.:type- required -:computer_use_preview
The type of the computer use tool. Alwayscomputer_use_preview.
Allowed values:"computer_use_preview"
Default:"computer_use_preview"
Summary
Types
@type t() :: %ExOpenAI.Components.ComputerUsePreviewTool{ display_height: integer(), display_width: integer(), environment: ExOpenAI.Components.ComputerEnvironment.t(), type: :computer_use_preview }