pgvector
extension. Refer to the Supabase blog post for more information.
This guide provides a quick overview for getting started with Supabase vector stores. For detailed documentation of all SupabaseVectorStore
features and configurations head to the API reference.
Class | Package | PY support | Package latest |
---|---|---|---|
SupabaseVectorStore | @langchain/community | ✅ |
@langchain/community
integration package. You’ll also need to install the official @supabase/supabase-js
SDK as a peer dependency.
This guide will also use OpenAI embeddings, which require you to install the @langchain/openai
integration package. You can also use other supported embeddings models if you wish.
pgvector
and create the necessary table and functions:
SUPABASE_PRIVATE_KEY
and SUPABASE_URL
environment variables:
metadata->some_int_prop_name::int
).
SupabaseVectorStore
features and configurations head to the API reference.