Google Cloud Ai Platform V1 Client - Class ComputerUse (1.44.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ComputerUse.

Tool to support computer use.

Generated from protobuf message google.cloud.aiplatform.v1.Tool.ComputerUse

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Tool

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ environment
int

Required. The environment being operated.

↳ excluded_predefined_functions
array

Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.

getEnvironment

Required. The environment being operated.

Returns
Type
Description
int
Enum of type Environment .

setEnvironment

Required. The environment being operated.

Parameter
Name
Description
var
int

Enum of type Environment .

Returns
Type
Description
$this

getExcludedPredefinedFunctions

Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:

  1. Using a more restricted / different action space.

  2. Improving the definitions / instructions of predefined functions.

Returns
Type
Description

setExcludedPredefinedFunctions

Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:

  1. Using a more restricted / different action space.

  2. Improving the definitions / instructions of predefined functions.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: