Redis Vector Database

Classes

RedisVectorDatabase(host: str, port: int, default_query_limit: int = 10, **extra_params: Any) : Redis implementation of the VectorDatabase.

This class provides a Redis-based vector database connector.

Initialize the RedisVectorDatabase.

Args:
    host (str): The hostname of the Redis server.
    port (int): The port number of the Redis server.
    default_query_limit (int): Default vector search limit, set to Redis's default of 10.
    **extra_params (Any): Additional parameters for the Redis connection.

### Ancestors (in MRO)

* superlinked.framework.dsl.storage.vector_database.VectorDatabase
* abc.ABC
* typing.Generic

Last updated