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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRagEmbeddingModelConfig\u003c/code\u003e class is part of the Vertex AI v1beta1 API, providing configuration for embedding models used in Retrieval-Augmented Generation (RAG).\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, with a previous version of \u003ccode\u003e1.0.0-beta20\u003c/code\u003e also available, it is contained in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors, a default constructor and another that takes another \u003ccode\u003eRagEmbeddingModelConfig\u003c/code\u003e object as a parameter, allowing the creation of a new instance by copying an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eHybridSearchConfig\u003c/code\u003e, for hybrid search configurations, and \u003ccode\u003eVertexPredictionEndpoint\u003c/code\u003e, which is used to specify the Vertex AI Prediction Endpoint for dense vector search.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class RagEmbeddingModelConfig (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig) \n\n public sealed class RagEmbeddingModelConfig : IMessage\u003cRagEmbeddingModelConfig\u003e, IEquatable\u003cRagEmbeddingModelConfig\u003e, IDeepCloneable\u003cRagEmbeddingModelConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class RagEmbeddingModelConfig.\n\nConfig for the embedding model to use for RAG. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RagEmbeddingModelConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RagEmbeddingModelConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagEmbeddingModelConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RagEmbeddingModelConfig](/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](/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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### RagEmbeddingModelConfig()\n\n public RagEmbeddingModelConfig()\n\n### RagEmbeddingModelConfig(RagEmbeddingModelConfig)\n\n public RagEmbeddingModelConfig(RagEmbeddingModelConfig other)\n\nProperties\n----------\n\n### HybridSearchConfig\n\n public RagEmbeddingModelConfig.Types.HybridSearchConfig HybridSearchConfig { get; set; }\n\nConfiguration for hybrid search.\n\n### ModelConfigCase\n\n public RagEmbeddingModelConfig.ModelConfigOneofCase ModelConfigCase { get; }\n\n### VertexPredictionEndpoint\n\n public RagEmbeddingModelConfig.Types.VertexPredictionEndpoint VertexPredictionEndpoint { get; set; }\n\nThe Vertex AI Prediction Endpoint that either refers to a publisher model\nor an endpoint that is hosting a 1P fine-tuned text embedding model.\nEndpoints hosting non-1P fine-tuned text embedding models are\ncurrently not supported.\nThis is used for dense vector search."]]