Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "redisvl"
version = "0.11.0"
description = "Python client library and CLI for using Redis as a vector database"
authors = [{ name = "Redis Inc.", email = "applied.ai@redis.com" }]
requires-python = ">=3.9,<3.14"
requires-python = ">=3.9.2,<3.14"
readme = "README.md"
license = "MIT"
keywords = [
Expand Down Expand Up @@ -39,6 +39,7 @@ nltk = ["nltk>=3.8.1,<4"]
cohere = ["cohere>=4.44"]
voyageai = ["voyageai>=0.2.2"]
sentence-transformers = ["sentence-transformers>=3.4.0,<4"]
langcache = ["langcache>=0.9.0"]
vertexai = [
"google-cloud-aiplatform>=1.26,<2.0.0",
"protobuf>=5.28.0,<6.0.0",
Expand Down Expand Up @@ -76,6 +77,7 @@ dev = [
"testcontainers>=4.3.1,<5",
"cryptography>=44.0.1 ; python_version > '3.9.1'",
"codespell>=2.4.1,<3",
"langcache>=0.9.0",
]
docs = [
"sphinx>=4.4.0",
Expand Down
1 change: 0 additions & 1 deletion redisvl/cli/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from redisvl.redis.utils import convert_bytes, make_dict
from redisvl.schema.schema import IndexSchema
from redisvl.utils.log import get_logger
from redisvl.utils.utils import lazy_import

logger = get_logger("[RedisVL]")

Expand Down
9 changes: 8 additions & 1 deletion redisvl/extensions/cache/llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@
This module provides LLM cache implementations for RedisVL.
"""

from redisvl.extensions.cache.llm.langcache import LangCacheWrapper
from redisvl.extensions.cache.llm.schema import (
CacheEntry,
CacheHit,
SemanticCacheIndexSchema,
)
from redisvl.extensions.cache.llm.semantic import SemanticCache

__all__ = ["SemanticCache", "CacheEntry", "CacheHit", "SemanticCacheIndexSchema"]
__all__ = [
"SemanticCache",
"LangCacheWrapper",
"CacheEntry",
"CacheHit",
"SemanticCacheIndexSchema",
]
Loading