Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::ReciprocalRankFusion.
Defines the Reciprocal Rank Fusion (RRF) algorithm for result ranking.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#weights
def weights() -> ::Array<::Float>
Returns
- (::Array<::Float>) — Required. The weights to apply to each search result set during fusion.
#weights=
def weights=(value) -> ::Array<::Float>
Parameter
- value (::Array<::Float>) — Required. The weights to apply to each search result set during fusion.
Returns
- (::Array<::Float>) — Required. The weights to apply to each search result set during fusion.