Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Retrieval
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Retrieval
- 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
-
#retrieval_types ⇒ Array<String>
The types of file retrieval to enable.
-
#vertex_ai_search_config ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VertexAiSearchConfig
Used to specify configuration for VertexAISearch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1Retrieval
constructor
A new instance of GenaiVertexV1beta1Retrieval.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_types ⇒ Array<String>
The types of file retrieval to enable.
Corresponds to the JSON property retrieval_types
3891 3892 3893 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3891 def retrieval_types @retrieval_types end |
#vertex_ai_search_config ⇒ Google::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 |