public sealed class DynamicRetrievalConfig : IMessage<DynamicRetrievalConfig>, IEquatable<DynamicRetrievalConfig>, IDeepCloneable<DynamicRetrievalConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class DynamicRetrievalConfig.
Describes the options to customize dynamic retrieval.
[[["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-28 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eDynamicRetrievalConfig\u003c/code\u003e class within the Vertex AI v1beta1 API, used for customizing dynamic retrieval options in the Google Cloud AI Platform.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDynamicRetrievalConfig\u003c/code\u003e 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, providing functionalities for message handling, equality checks, deep cloning, and buffer message management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one and another that takes an existing \u003ccode\u003eDynamicRetrievalConfig\u003c/code\u003e instance for copying, it has public properties for setting the dynamic threshold and selecting the mode of the dynamic retrieval predictor.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDynamicThreshold\u003c/code\u003e property allows for setting a custom threshold value, while \u003ccode\u003eHasDynamicThreshold\u003c/code\u003e determines if the dynamic threshold field has been explicitly set, with a default being used if not.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions of \u003ccode\u003eDynamicRetrievalConfig\u003c/code\u003e are 1.0.0-beta21 (latest) and 1.0.0-beta20.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class DynamicRetrievalConfig (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.DynamicRetrievalConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.DynamicRetrievalConfig) \n\n public sealed class DynamicRetrievalConfig : IMessage\u003cDynamicRetrievalConfig\u003e, IEquatable\u003cDynamicRetrievalConfig\u003e, IDeepCloneable\u003cDynamicRetrievalConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class DynamicRetrievalConfig.\n\nDescribes the options to customize dynamic retrieval. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DynamicRetrievalConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DynamicRetrievalConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DynamicRetrievalConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DynamicRetrievalConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DynamicRetrievalConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DynamicRetrievalConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DynamicRetrievalConfig), [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### DynamicRetrievalConfig()\n\n public DynamicRetrievalConfig()\n\n### DynamicRetrievalConfig(DynamicRetrievalConfig)\n\n public DynamicRetrievalConfig(DynamicRetrievalConfig other)\n\nProperties\n----------\n\n### DynamicThreshold\n\n public float DynamicThreshold { get; set; }\n\nOptional. The threshold to be used in dynamic retrieval.\nIf not set, a system default value is used.\n\n### HasDynamicThreshold\n\n public bool HasDynamicThreshold { get; }\n\nGets whether the \"dynamic_threshold\" field is set\n\n### Mode\n\n public DynamicRetrievalConfig.Types.Mode Mode { get; set; }\n\nThe mode of the predictor to be used in dynamic retrieval."]]