Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolExaAiSearch

Inherits:
Object
  • Object
show all
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

ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ToolExaAiSearch

Returns a new instance of GoogleCloudAiplatformV1ToolExaAiSearch.



47817
47818
47819
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47817

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_keyString

Required. The API key for ExaAiSearch. Corresponds to the JSON property apiKey

Returns:

  • (String)


47809
47810
47811
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47809

def api_key
  @api_key
end

#custom_configsHash<String,Object>

Optional. This field can be used to pass any parameter from the Exa.ai Search API. Corresponds to the JSON property customConfigs

Returns:

  • (Hash<String,Object>)


47815
47816
47817
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47815

def custom_configs
  @custom_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47822
47823
47824
47825
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47822

def update!(**args)
  @api_key = args[:api_key] if args.key?(:api_key)
  @custom_configs = args[:custom_configs] if args.key?(:custom_configs)
end