public sealed class GenAiAdvancedFeaturesConfig.Types.RagConfig : IMessage<GenAiAdvancedFeaturesConfig.Types.RagConfig>, IEquatable<GenAiAdvancedFeaturesConfig.Types.RagConfig>, IDeepCloneable<GenAiAdvancedFeaturesConfig.Types.RagConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class GenAiAdvancedFeaturesConfig.Types.RagConfig.
Configuration for Retrieval Augmented Generation feature.
Implements
IMessageGenAiAdvancedFeaturesConfigTypesRagConfig, IEquatableGenAiAdvancedFeaturesConfigTypesRagConfig, IDeepCloneableGenAiAdvancedFeaturesConfigTypesRagConfig, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
RagConfig()
public RagConfig()
RagConfig(RagConfig)
public RagConfig(GenAiAdvancedFeaturesConfig.Types.RagConfig other)
Parameter | |
---|---|
Name | Description |
other |
GenAiAdvancedFeaturesConfigTypesRagConfig |
Properties
EnableRag
public bool EnableRag { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |