# Package-level declarations

## Types

VectorDistance
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.

VectorDistanceMetric
Link copied to clipboard
enum VectorDistanceMetric : Enum<VectorDistanceMetric>

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