Fix deps when using supabase self-query retriever on v3.11 (#10452)

## Description
Fixes dependency errors when using Supabase self-query retrievers on
Python 3.11

## Issues
- https://github.com/langchain-ai/langchain/issues/10447
- https://github.com/langchain-ai/langchain/issues/10444

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
pull/10459/head
Greg Richardson 1 year ago committed by GitHub
parent 8b5662473f
commit fde57df7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,7 +81,7 @@
"## Creating a Supabase vector store\n",
"Next we'll want to create a Supabase vector store and seed it with some data. We've created a small demo set of documents that contain summaries of movies.\n",
"\n",
"Be sure to install the latest version of `langchain`:"
"Be sure to install the latest version of `langchain` with `openai` support:"
]
},
{
@ -91,7 +91,7 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install langchain"
"%pip install langchain openai tiktoken"
]
},
{
@ -119,17 +119,7 @@
"id": "114f768f",
"metadata": {},
"source": [
"We also need the `openai` and `supabase` packages:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "434ae558",
"metadata": {},
"outputs": [],
"source": [
"%pip install openai"
"We also need the `supabase` package:"
]
},
{
@ -141,7 +131,7 @@
},
"outputs": [],
"source": [
"%pip install supabase==1.0.0"
"%pip install supabase"
]
},
{
@ -579,7 +569,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.9.1"
}
},
"nbformat": 4,

Loading…
Cancel
Save