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.
59755 59756 59757 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59755 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
Required. The environment being operated.
Corresponds to the JSON property environment
59743 59744 59745 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59743 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
59753 59754 59755 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59753 def excluded_predefined_functions @excluded_predefined_functions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
59760 59761 59762 59763 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59760 def update!(**args) @environment = args[:environment] if args.key?(:environment) @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions) end |