Google Cloud Vector Search V1 Client - Class ReciprocalRankFusion (0.3.0)

Reference documentation and code samples for the Google Cloud Vector Search V1 Client class ReciprocalRankFusion.

Defines the Reciprocal Rank Fusion (RRF) algorithm for result ranking.

Generated from protobuf message google.cloud.vectorsearch.v1.ReciprocalRankFusion

Namespace

Google \ Cloud \ VectorSearch \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ weights
float[]

Required. The weights to apply to each search result set during fusion.

getWeights

Required. The weights to apply to each search result set during fusion.

Returns
Type
Description

setWeights

Required. The weights to apply to each search result set during fusion.

Parameter
Name
Description
var
float[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: