Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolComputerUse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolComputerUse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Tool to support computer use.
Instance Attribute Summary collapse
-
#environment ⇒ String
Required.
-
#excluded_predefined_functions ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ToolComputerUse
constructor
A new instance of GoogleCloudAiplatformV1ToolComputerUse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ToolComputerUse
Returns a new instance of GoogleCloudAiplatformV1ToolComputerUse.
45936 45937 45938 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
Required. The environment being operated.
Corresponds to the JSON property environment
45924 45925 45926 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45924 def environment @environment end |
#excluded_predefined_functions ⇒ Array<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.
Corresponds to the JSON property excludedPredefinedFunctions
45934 45935 45936 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45934 def excluded_predefined_functions @excluded_predefined_functions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45941 45942 45943 45944 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45941 def update!(**args) @environment = args[:environment] if args.key?(:environment) @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions) end |