DistanceStrategy#
- class langchain_sqlserver.vectorstores.DistanceStrategy(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Distance Strategy class for SQLServer_VectorStore.
Enumerator of the distance strategies for calculating distances between vectors.
- EUCLIDEAN = 'euclidean'#
- COSINE = 'cosine'#
- DOT = 'dot'#
Examples using DistanceStrategy