semantic_router.index.postgres.MetricPgVecOperatorMap#

class semantic_router.index.postgres.MetricPgVecOperatorMap(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

Enum to map the metric to PostgreSQL vector operators.

__init__(*args, **kwds)#

Attributes

cosine

dotproduct

euclidean

manhattan