RedisDistanceMetric#

class langchain_community.vectorstores.redis.schema.RedisDistanceMetric(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'#