Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
OurBuilding Ambient Agents with LangGraph course is now available on LangChain Academy!
Open on GitHub

Postgres Embedding

pg_embedding is an open-source package forvector similarity search usingPostgres and 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 ausage example.

from langchain_community.vectorstoresimport PGEmbedding
API Reference:PGEmbedding

[8]ページ先頭

©2009-2025 Movatter.jp