Toggle Menu
Prev Up Next

# `langchain_community.vectorstores.redis.filters`.RedisFilter

class langchain_community.vectorstores.redis.filters.RedisFilter

  Collection of RedisFilterFields.

  Methods

  `__init__`() |
  `num`(field) |
  `tag`(field) |
  `text`(field) |

  __init__()
  static num(field: str) → RedisNum
    Parameters

      field (str) –

    Return type

      RedisNum

  static tag(field: str) → RedisTag
    Parameters

      field (str) –

    Return type

      RedisTag

  static text(field: str) → RedisText
    Parameters

      field (str) –

    Return type

      RedisText

# Examples using RedisFilter

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