From 7982f7d0d026f9b59b2c85738185e0ea9ece19b4 Mon Sep 17 00:00:00 2001 From: Tyler Hutcherson Date: Wed, 2 Oct 2024 12:59:43 -0400 Subject: [PATCH] Bump to 0.3.4 (#228) Release redisvl==0.3.4 --- docs/_static/version_names.json | 9 +++++++-- docs/conf.py | 2 +- docs/overview/cli.ipynb | 2 +- pyproject.toml | 2 +- redisvl/extensions/llmcache/semantic.py | 1 + redisvl/version.py | 2 +- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/_static/version_names.json b/docs/_static/version_names.json index 3870a4ef..fc353bdb 100644 --- a/docs/_static/version_names.json +++ b/docs/_static/version_names.json @@ -1,10 +1,15 @@ [ { - "name": "0.3.3 (stable)", - "version": "0.3.3", + "name": "0.3.4 (stable)", + "version": "0.3.4", "url": "/", "preferred": true }, + { + "name": "0.3.3", + "version": "0.3.3", + "url": "/0.3.3/" + }, { "name": "0.3.2", "version": "0.3.2", diff --git a/docs/conf.py b/docs/conf.py index 8f8dedef..37c1c04d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ project = 'RedisVL' copyright = '2024, Redis Inc.' author = 'Redis Applied AI' -version = '0.3.3' +version = '4' # The full version, including alpha/beta/rc tags release = version diff --git a/docs/overview/cli.ipynb b/docs/overview/cli.ipynb index 170a495a..e814da46 100644 --- a/docs/overview/cli.ipynb +++ b/docs/overview/cli.ipynb @@ -24,7 +24,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[32m16:18:23\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m RedisVL version 0.3.3\n" + "\u001b[32m10:44:18\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m RedisVL version 0.3.4\n" ] } ], diff --git a/pyproject.toml b/pyproject.toml index 027652d7..c413a58e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redisvl" -version = "0.3.3" +version = "0.3.4" description = "Python client library and CLI for using Redis as a vector database" authors = ["Redis Inc. "] license = "MIT" diff --git a/redisvl/extensions/llmcache/semantic.py b/redisvl/extensions/llmcache/semantic.py index 4fb01cff..32541697 100644 --- a/redisvl/extensions/llmcache/semantic.py +++ b/redisvl/extensions/llmcache/semantic.py @@ -625,6 +625,7 @@ def update(self, key: str, **kwargs) -> None: TypeError if metadata is provided and not of type dict. .. code-block:: python + key = cache.store('this is a prompt', 'this is a response') cache.update(key, metadata={"hit_count": 1, "model_name": "Llama-2-7b"}) ) diff --git a/redisvl/version.py b/redisvl/version.py index e19434e2..334b8995 100644 --- a/redisvl/version.py +++ b/redisvl/version.py @@ -1 +1 @@ -__version__ = "0.3.3" +__version__ = "0.3.4"