Vertex AI v1 API - Class GenAiAdvancedFeaturesConfig.Types.RagConfig (3.38.0)

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 v1 API class GenAiAdvancedFeaturesConfig.Types.RagConfig.

Configuration for Retrieval Augmented Generation feature.

Inheritance

object > GenAiAdvancedFeaturesConfig.Types.RagConfig

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.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