Interface FindNeighborsRequest.Query.RRFOrBuilder (3.46.0)

public static interface FindNeighborsRequest.Query.RRFOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlpha()

public abstract float getAlpha()

Required. Users can provide an alpha value to give more weight to dense vs sparse results. For example, if the alpha is 0, we only return sparse and if the alpha is 1, we only return dense.

float alpha = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
float

The alpha.