Supabase is an open-source Firebase alternative.Supabase
is built on top ofPostgreSQL
, which offers strong SQL querying capabilities and enables a simple interface with already-existing tools and frameworks.
PostgreSQL also known as Postgres
, is a free and open-source relational database management system (RDBMS) emphasizing extensibility and SQL compliance.
This notebook shows how to use Supabase
and pgvector
as your VectorStore.
You’ll need to install langchain-community
with pip install -qU langchain-community
to use this integration
To run this notebook, please ensure:
pgvector
extension is enabledsupabase-py
packagematch_documents
function in your databasedocuments
table in your public
schema similar to the one below.OpenAIEmbeddings
so we have to get the OpenAI API Key.
SupabaseVectorStore
directly:
mmr
.