public sealed class ReciprocalRankFusion : IMessage<ReciprocalRankFusion>, IEquatable<ReciprocalRankFusion>, IDeepCloneable<ReciprocalRankFusion>, IBufferMessage, IMessageReference documentation and code samples for the Vector Search v1 API class ReciprocalRankFusion.
Defines the Reciprocal Rank Fusion (RRF) algorithm for result ranking.
Implements
IMessageReciprocalRankFusion, IEquatableReciprocalRankFusion, IDeepCloneableReciprocalRankFusion, IBufferMessage, IMessageNamespace
Google.Cloud.VectorSearch.V1Assembly
Google.Cloud.VectorSearch.V1.dll
Constructors
ReciprocalRankFusion()
public ReciprocalRankFusion()ReciprocalRankFusion(ReciprocalRankFusion)
public ReciprocalRankFusion(ReciprocalRankFusion other)| Parameter | |
|---|---|
| Name | Description |
other |
ReciprocalRankFusion |
Properties
Weights
public RepeatedField<double> Weights { get; }Required. The weights to apply to each search result set during fusion.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFielddouble |
|