Skip to content

Commit e8f3318

Browse files
update with 0.6.0 pin
1 parent ffbc642 commit e8f3318

File tree

5 files changed

+6
-14
lines changed

5 files changed

+6
-14
lines changed

python-recipes/RAG/01_redisvl.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
}
107107
],
108108
"source": [
109-
"%pip install -q \"git+https://github.com/redis/redis-vl-python.git@0.6.0\" langchain-community pypdf sentence-transformers langchain openai pandas"
109+
"%pip install -q \"redisvl>=0.6.0\" langchain-community pypdf sentence-transformers langchain openai pandas"
110110
]
111111
},
112112
{

python-recipes/RAG/04_advanced_redisvl.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
}
9393
],
9494
"source": [
95-
"%pip install -q \"git+https://github.com/redis/redis-vl-python.git@0.6.0\" pandas \"unstructured[pdf]\" sentence-transformers langchain langchain-community \"openai>=1.57.0\" tqdm"
95+
"%pip install -q \"redisvl>=0.6.0\" pandas \"unstructured[pdf]\" sentence-transformers langchain langchain-community \"openai>=1.57.0\" tqdm"
9696
]
9797
},
9898
{

python-recipes/agents/03_memory_agent.ipynb

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"metadata": {},
4545
"outputs": [],
4646
"source": [
47-
"%pip install -q langchain-openai langgraph-checkpoint langgraph-checkpoint-redis \"langchain-community>=0.2.11\" tavily-python langchain-redis pydantic ulid \"git+https://github.com/redis/[email protected]\""
47+
"%pip install -q langchain-openai langgraph-checkpoint langgraph-checkpoint-redis \"langchain-community>=0.2.11\" tavily-python langchain-redis pydantic ulid"
4848
]
4949
},
5050
{
@@ -390,22 +390,14 @@
390390
"from redisvl.query import VectorRangeQuery\n",
391391
"from redisvl.query.filter import Tag\n",
392392
"from redisvl.utils.vectorize.text.openai import OpenAITextVectorizer\n",
393-
"from redisvl.extensions.cache.embeddings import EmbeddingsCache\n",
394393
"\n",
395394
"\n",
396395
"logger = logging.getLogger(__name__)\n",
397396
"\n",
398397
"# If we have any memories that aren't associated with a user, we'll use this ID.\n",
399398
"SYSTEM_USER_ID = \"system\"\n",
400399
"\n",
401-
"openai_embed = OpenAITextVectorizer(\n",
402-
" model=\"text-embedding-ada-002\",\n",
403-
" cache=EmbeddingsCache(\n",
404-
" name=\"embedcache\",\n",
405-
" ttl=600,\n",
406-
" redis_url=REDIS_URL,\n",
407-
" )\n",
408-
")\n",
400+
"openai_embed = OpenAITextVectorizer(model=\"text-embedding-ada-002\")\n",
409401
"\n",
410402
"# Change this to MemoryStrategy.TOOLS to use function-calling to store and\n",
411403
"# retrieve memories.\n",

python-recipes/vector-search/01_redisvl.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
},
8383
"outputs": [],
8484
"source": [
85-
"%pip install -q \"git+https://github.com/redis/redis-vl-python.git@0.6.0\" sentence-transformers pandas nltk"
85+
"%pip install -q \"redisvl>=0.6.0\" sentence-transformers pandas nltk"
8686
]
8787
},
8888
{

python-recipes/vector-search/02_hybrid_search.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"metadata": {},
3333
"outputs": [],
3434
"source": [
35-
"%pip install sentence-transformers pandas nltk \"git+https://github.com/redis/redis-vl-python.git@0.6.0\""
35+
"%pip install sentence-transformers pandas nltk \"redisvl>=0.6.0\""
3636
]
3737
},
3838
{

0 commit comments

Comments
 (0)