DistanceStrategy#
- class langchain_postgres.vectorstores.DistanceStrategy(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Enumerator of the Distance strategies.
- EUCLIDEAN = 'l2'#
- COSINE = 'cosine'#
- MAX_INNER_PRODUCT = 'inner'#
Examples using DistanceStrategy