Postgres Embedding
pg_embedding is an open-source package forvector similarity search using
Postgres
and theHierarchical Navigable Small Worlds
algorithm for approximate nearest neighbor search.
Installation and Setup
We need to install several python packages.
pip install psycopg2-binary
Vector Store
See ausage example.
from langchain_community.vectorstoresimport PGEmbedding
API Reference:PGEmbedding