InMemoryDBDistanceMetric#

class langchain_aws.vectorstores.inmemorydb.schema.InMemoryDBDistanceMetric(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Distance metrics for Redis vector fields.

l2 = 'L2'#
cosine = 'COSINE'#
ip = 'IP'#