Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Retrieval

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

A tool that can be used by the model to retrieve files.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1Retrieval

Returns a new instance of GenaiVertexV1beta1Retrieval.



3898
3899
3900
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3898

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

Instance Attribute Details

#retrieval_typesArray<String>

The types of file retrieval to enable. Corresponds to the JSON property retrieval_types

Returns:

  • (Array<String>)


3891
3892
3893
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3891

def retrieval_types
  @retrieval_types
end

#vertex_ai_search_configGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1VertexAiSearchConfig

Used to specify configuration for VertexAISearch. Corresponds to the JSON property vertex_ai_search_config



3896
3897
3898
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3896

def vertex_ai_search_config
  @vertex_ai_search_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3903
3904
3905
3906
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3903

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