1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class RagEmbeddingModelConfig : IMessage<RagEmbeddingModelConfig>, IEquatable<RagEmbeddingModelConfig>, IDeepCloneable<RagEmbeddingModelConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class RagEmbeddingModelConfig.

Config for the embedding model to use for RAG.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RagEmbeddingModelConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RagEmbeddingModelConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RagEmbeddingModelConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig), [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

### RagEmbeddingModelConfig()

    public RagEmbeddingModelConfig()

### RagEmbeddingModelConfig(RagEmbeddingModelConfig)

    public RagEmbeddingModelConfig(RagEmbeddingModelConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig` |

## Properties

### HybridSearchConfig

    public RagEmbeddingModelConfig.Types.HybridSearchConfig HybridSearchConfig { get; set; }

Configuration for hybrid search.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig.Types.HybridSearchConfig` |   |

### ModelConfigCase

    public RagEmbeddingModelConfig.ModelConfigOneofCase ModelConfigCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig.ModelConfigOneofCase` |   |

### VertexPredictionEndpoint

    public RagEmbeddingModelConfig.Types.VertexPredictionEndpoint VertexPredictionEndpoint { get; set; }

The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig.Types.VertexPredictionEndpoint` |   |