langchain_community.vectorstores.lantern
.DistanceStrategy¶
- class langchain_community.vectorstores.lantern.DistanceStrategy(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Enumerator of the Distance strategies.
- EUCLIDEAN = 'l2sq'¶
- COSINE = 'cosine'¶
- HAMMING = 'hamming'¶