Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolExaAiSearch
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolExaAiSearch
- 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
ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding.
Instance Attribute Summary collapse
-
#api_key ⇒ String
Required.
-
#custom_configs ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolExaAiSearch
constructor
A new instance of GoogleCloudAiplatformV1beta1ToolExaAiSearch.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolExaAiSearch
Returns a new instance of GoogleCloudAiplatformV1beta1ToolExaAiSearch.
3721 3722 3723 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3721 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key ⇒ String
Required. The API key for ExaAiSearch.
Corresponds to the JSON property apiKey
3713 3714 3715 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3713 def api_key @api_key end |
#custom_configs ⇒ Hash<String,Object>
Optional. This field can be used to pass any parameter from the Exa.ai Search
API.
Corresponds to the JSON property customConfigs
3719 3720 3721 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3719 def custom_configs @custom_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3726 3727 3728 3729 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3726 def update!(**args) @api_key = args[:api_key] if args.key?(:api_key) @custom_configs = args[:custom_configs] if args.key?(:custom_configs) end |