public sealed class RagVectorDbConfig : IMessage<RagVectorDbConfig>, IEquatable<RagVectorDbConfig>, IDeepCloneable<RagVectorDbConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class RagVectorDbConfig.
[[["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\u003eRagVectorDbConfig\u003c/code\u003e class is a configuration for Vector Databases used in Retrieval-Augmented Generation (RAG) within the Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its use within Google's Protocol Buffers framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers multiple configuration options for different Vector DBs like Pinecone, Weaviate, Vertex Feature Store, Vertex Vector Search, and a RAG-managed Vector DB.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for authentication (\u003ccode\u003eApiAuth\u003c/code\u003e) and an embedding model configuration (\u003ccode\u003eRagEmbeddingModelConfig\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eVectorDbCase\u003c/code\u003e property which helps determine which type of Vector DB configuration is in use, given that it is a oneof case.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class RagVectorDbConfig (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.RagVectorDbConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.RagVectorDbConfig) \n\n public sealed class RagVectorDbConfig : IMessage\u003cRagVectorDbConfig\u003e, IEquatable\u003cRagVectorDbConfig\u003e, IDeepCloneable\u003cRagVectorDbConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class RagVectorDbConfig.\n\nConfig for the Vector DB to use for RAG. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RagVectorDbConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RagVectorDbConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagVectorDbConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RagVectorDbConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagVectorDbConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RagVectorDbConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagVectorDbConfig), [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### RagVectorDbConfig()\n\n public RagVectorDbConfig()\n\n### RagVectorDbConfig(RagVectorDbConfig)\n\n public RagVectorDbConfig(RagVectorDbConfig other)\n\nProperties\n----------\n\n### ApiAuth\n\n public ApiAuth ApiAuth { get; set; }\n\nAuthentication config for the chosen Vector DB.\n\n### Pinecone\n\n public RagVectorDbConfig.Types.Pinecone Pinecone { get; set; }\n\nThe config for the Pinecone.\n\n### RagEmbeddingModelConfig\n\n public RagEmbeddingModelConfig RagEmbeddingModelConfig { get; set; }\n\nOptional. Immutable. The embedding model config of the Vector DB.\n\n### RagManagedDb\n\n public RagVectorDbConfig.Types.RagManagedDb RagManagedDb { get; set; }\n\nThe config for the RAG-managed Vector DB.\n\n### VectorDbCase\n\n public RagVectorDbConfig.VectorDbOneofCase VectorDbCase { get; }\n\n### VertexFeatureStore\n\n public RagVectorDbConfig.Types.VertexFeatureStore VertexFeatureStore { get; set; }\n\nThe config for the Vertex Feature Store.\n\n### VertexVectorSearch\n\n public RagVectorDbConfig.Types.VertexVectorSearch VertexVectorSearch { get; set; }\n\nThe config for the Vertex Vector Search.\n\n### Weaviate\n\n public RagVectorDbConfig.Types.Weaviate Weaviate { get; set; }\n\nThe config for the Weaviate."]]