Package com.google.cloud.aiplatform.v1
Interface FindNeighborsRequest.Query.RRFOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FindNeighborsRequest.Query.RRF,FindNeighborsRequest.Query.RRF.Builder
- Enclosing class:
- FindNeighborsRequest.Query
public static interface FindNeighborsRequest.Query.RRFOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAlpha
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:
- The alpha.
-