public sealed class RagQuery.Types.Ranking : IMessage<RagQuery.Types.Ranking>, IEquatable<RagQuery.Types.Ranking>, IDeepCloneable<RagQuery.Types.Ranking>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class RagQuery.Types.Ranking.
Optional. Alpha value controls the weight between dense and sparse vector
search results. The range is [0, 1], while 0 means sparse vector search
only and 1 means dense vector search only. The default value is 0.5 which
balances sparse and dense vector search equally.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["This documentation covers the `RagQuery.Types.Ranking` class within the Google Cloud AI Platform v1beta1 API, specifically for .NET development."],["`RagQuery.Types.Ranking` is used to configure the ranking of hybrid search results, inheriting from `object` and implementing multiple interfaces like `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The class offers two constructors: a default constructor and one that takes another `Ranking` object for copying."],["The `Alpha` property allows adjustment of the weighting between dense and sparse vector search results, with a range from 0 to 1, with a default of 0.5."],["The `HasAlpha` property indicates whether the \"alpha\" field is set or not and returns a boolean value."]]],[]]