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 \ ToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ environment |
int
Required. The environment being operated. |
↳ excluded_predefined_functions |
string[]
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:
Using a more restricted / different action space.
Improving the definitions / instructions of predefined functions.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
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:
Using a more restricted / different action space.
Improving the definitions / instructions of predefined functions.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|