Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb
Overview
Tool config. This config is shared for all tools provided in the request.
Instance Attribute Summary collapse
-
#function_calling_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig
Function calling config.
-
#retrieval_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig
Retrieval config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1ToolConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolConfig
Returns a new instance of GoogleCloudAiplatformV1beta1ToolConfig.
1987 1988 1989 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1987 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function_calling_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig
Function calling config.
Corresponds to the JSON property functionCallingConfig
1980 1981 1982 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1980 def function_calling_config @function_calling_config end |
#retrieval_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig
Retrieval config.
Corresponds to the JSON property retrievalConfig
1985 1986 1987 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1985 def retrieval_config @retrieval_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1992 1993 1994 1995 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1992 def update!(**args) @function_calling_config = args[:function_calling_config] if args.key?(:function_calling_config) @retrieval_config = args[:retrieval_config] if args.key?(:retrieval_config) end |