Vector Search V1 API - Module Google::Cloud::VectorSearch::V1::DistanceMetric (v0.1.0)

Reference documentation and code samples for the Vector Search V1 API module Google::Cloud::VectorSearch::V1::DistanceMetric.

Distance metric for vector search.

Constants

DISTANCE_METRIC_UNSPECIFIED

value: 0
Default value, distance metric is not specified.

DOT_PRODUCT

value: 1
Dot product distance metric.

COSINE_DISTANCE

value: 2
Cosine distance metric.