Postgres Embedding
pg_embedding is an open-source package for vector similarity search using
Postgresand theHierarchical Navigable Small Worldsalgorithm for approximate nearest neighbor search.
Installation and Setupβ
We need to install several python packages.
pip install psycopg2-binary
Vector Storeβ
See a usage example.
from langchain_community.vectorstores import PGEmbedding
API Reference:PGEmbedding