Storage
RedisMemoryDb
RedisMemoryDb is a class that implements the MemoryDb interface using Redis as the backend storage system. It provides persistent storage for agent memories with support for JSONB data types, timestamps, and efficient querying.
Parameters
Parameter | Type | Description | Default |
---|---|---|---|
prefix | str | Prefix for Redis keys to namespace the memories | "agno_memory" |
host | str | Redis host address | "localhost" |
port | int | Redis port number | 6379 |
db | int | Redis database number | 0 |
password | Optional[str] | Redis password if authentication is required | None |