Package-level declarations

Types

Link copied to clipboard
class VectorDistance<T>(val expression: Expression<T>, val targetExpression: Expression<T>, val metric: VectorDistanceMetric) : Function<Double>

Represents an SQL function that returns the mathematical distance between two provided, or stored, vector operands, based on the logic provided by VectorDistanceMetric.

Link copied to clipboard

The underlying mathematical formula to use when building an SQL vector distance function, to determine how similar or dissimilar vectors are.