Toggle Menu
Prev Up Next

# `langchain_community.vectorstores.redis.filters`.RedisTag

class langchain_community.vectorstores.redis.filters.RedisTag(field: str)

  RedisFilterField representing a tag in a Redis index.

  Create a RedisTag FilterField.

  Parameters

    field (str) – The name of the RedisTag field in the index to be queried against.

  Attributes

  `OPERATORS` |
  `OPERATOR_MAP` |
  `SUPPORTED_VAL_TYPES` |
  `escaper` |

  Methods

  `__init__`(field) | Create a RedisTag FilterField.
  `equals`(other) |

  __init__(field: str)

    Create a RedisTag FilterField.

    Parameters

      field (str) – The name of the RedisTag field in the index to be queried against.

  equals(other: RedisFilterField) → bool
    Parameters

      other (RedisFilterField) –

    Return type

      bool

# Examples using RedisTag

- connection to redis standalone at localhost, db 0, no password