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.



4154
4155
4156
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4154

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>)


4147
4148
4149
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4147

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



4152
4153
4154
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4152

def vertex_ai_search_config
  @vertex_ai_search_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4159
4160
4161
4162
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4159

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