1.0.0-beta87 (latest) 1.0.0-beta86

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GenAiAdvancedFeaturesConfig.Types.RagConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GenAiAdvancedFeaturesConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Types)[RagConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Types.RagConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenAiAdvancedFeaturesConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Types)[RagConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Types.RagConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GenAiAdvancedFeaturesConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Types)[RagConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Types.RagConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### RagConfig()

    public RagConfig()

### RagConfig(RagConfig)

    public RagConfig(GenAiAdvancedFeaturesConfig.Types.RagConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenAiAdvancedFeaturesConfig.Types.RagConfig` |

## 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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |