Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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) ⇒ GoogleCloudAiplatformV1beta1ToolComputerUse
constructor
A new instance of GoogleCloudAiplatformV1beta1ToolComputerUse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolComputerUse
Returns a new instance of GoogleCloudAiplatformV1beta1ToolComputerUse.
54710 54711 54712 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
Required. The environment being operated.
Corresponds to the JSON property environment
54698 54699 54700 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54698 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
54708 54709 54710 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54708 def excluded_predefined_functions @excluded_predefined_functions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54715 54716 54717 54718 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54715 def update!(**args) @environment = args[:environment] if args.key?(:environment) @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions) end |