Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig
- 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
Configuration for Retrieval Augmented Generation feature.
Instance Attribute Summary collapse
-
#enable_rag ⇒ Boolean
(also: #enable_rag?)
If true, enable Retrieval Augmented Generation in ChatCompletion request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig
constructor
A new instance of GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig
Returns a new instance of GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig.
14983 14984 14985 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14983 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_rag ⇒ Boolean Also known as: enable_rag?
If true, enable Retrieval Augmented Generation in ChatCompletion request. Once
enabled, the endpoint will be identified as GenAI endpoint and Arthedain
router will be used.
Corresponds to the JSON property enableRag
14980 14981 14982 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14980 def enable_rag @enable_rag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14988 14989 14990 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14988 def update!(**args) @enable_rag = args[:enable_rag] if args.key?(:enable_rag) end |