René's URL Explorer Experiment


Title: langchain_postgres | LangChain Reference

Open Graph Title: langchain_postgres

X Title: langchain_postgres

Description: Python API reference for langchain_postgres. Part of the LangChain ecosystem.

Open Graph Description: Python API reference for langchain_postgres. Part of the LangChain ecosystem.

X Description: Python API reference for langchain_postgres. Part of the LangChain ecosystem.

Opengraph URL: https://reference.langchain.com/python/langchain-postgres

direct link

Domain: python.langchain.com

og:imagehttps://reference.langchain.com/og/python/langchain-postgres
og:image:width1200
og:image:height630
og:image:altlangchain_postgres
og:typearticle
twitter:cardsummary_large_image
twitter:imagehttps://reference.langchain.com/og/python/langchain-postgres

Links:

LangChain Reference home pagehttps://python.langchain.com/
GitHubhttps://github.com/langchain-ai
Main Docshttps://docs.langchain.com/
Deep Agentshttps://python.langchain.com/python/deepagents
LangChainhttps://python.langchain.com/python/langchain/overview
LangGraphhttps://python.langchain.com/python/langgraph/overview
Integrationshttps://python.langchain.com/python/integrations/overview
LangSmithhttps://python.langchain.com/python/langsmith
Overviewhttps://python.langchain.com/python/integrations/overview
Google GenAI (Gemini)https://python.langchain.com/python/langchain-google-genai
Google Vertex AIhttps://python.langchain.com/python/langchain-google-vertexai
IBMhttps://python.langchain.com/python/langchain-ibm
Overviewhttps://python.langchain.com/python/langchain-postgres
Vector Storeshttps://python.langchain.com/python/langchain-postgres/vector-stores
Chat Historyhttps://python.langchain.com/python/langchain-postgres/chat-history
https://chat.langchain.com/
Google GenAI (Gemini)https://python.langchain.com/python/langchain-google-genai
Google Vertex AIhttps://python.langchain.com/python/langchain-google-vertexai
IBMhttps://python.langchain.com/python/langchain-ibm
Overviewhttps://python.langchain.com/python/langchain-postgres
Vector Storeshttps://python.langchain.com/python/langchain-postgres/vector-stores
Chat Historyhttps://python.langchain.com/python/langchain-postgres/chat-history
https://pypi.org/project/langchain-postgres/#history
https://opensource.org/licenses/MIT
https://pypistats.org/packages/langchain-postgres
ClassDistanceStrategyEnumerator of the Distance strategies.https://python.langchain.com/python/langchain-postgres/vectorstores/DistanceStrategy
ClassPGVectorPostgres vector store integration.https://python.langchain.com/python/langchain-postgres/vectorstores/PGVector
ClassPostgresChatMessageHistoryhttps://python.langchain.com/python/langchain-postgres/chat_message_histories/PostgresChatMessageHistory
ClassPGVectorTranslatorTranslate PGVector internal query language elements to valid filters.https://python.langchain.com/python/langchain-postgres/translator/PGVectorTranslator
ClassAsyncPGVectorStorePostgres Vector Store classhttps://python.langchain.com/python/langchain-postgres/v2/async_vectorstore/AsyncPGVectorStore
ClassStrategyMixinhttps://python.langchain.com/python/langchain-postgres/v2/indexes/StrategyMixin
ClassDistanceStrategyEnumerator of the Distance strategies.https://python.langchain.com/python/langchain-postgres/v2/indexes/DistanceStrategy
ClassBaseIndexAbstract base class for defining vector indexes.https://python.langchain.com/python/langchain-postgres/v2/indexes/BaseIndex
ClassExactNearestNeighborhttps://python.langchain.com/python/langchain-postgres/v2/indexes/ExactNearestNeighbor
ClassQueryOptionshttps://python.langchain.com/python/langchain-postgres/v2/indexes/QueryOptions
ClassHNSWIndexhttps://python.langchain.com/python/langchain-postgres/v2/indexes/HNSWIndex
ClassHNSWQueryOptionshttps://python.langchain.com/python/langchain-postgres/v2/indexes/HNSWQueryOptions
ClassIVFFlatIndexhttps://python.langchain.com/python/langchain-postgres/v2/indexes/IVFFlatIndex
ClassIVFFlatQueryOptionshttps://python.langchain.com/python/langchain-postgres/v2/indexes/IVFFlatQueryOptions
ClassPGVectorStorePostgres Vector Store classhttps://python.langchain.com/python/langchain-postgres/v2/vectorstores/PGVectorStore
ClassColumnDicthttps://python.langchain.com/python/langchain-postgres/v2/engine/ColumnDict
ClassColumnhttps://python.langchain.com/python/langchain-postgres/v2/engine/Column
ClassPGEngineA class for managing connections to a Postgres database.https://python.langchain.com/python/langchain-postgres/v2/engine/PGEngine
Functioncosine_similarityRow-wise cosine similarity between two equal-width matrices.https://python.langchain.com/python/langchain-postgres/_utils/cosine_similarity
Functionmaximal_marginal_relevanceCalculate maximal marginal relevance.https://python.langchain.com/python/langchain-postgres/_utils/maximal_marginal_relevance
Functionvalidate_identifierhttps://python.langchain.com/python/langchain-postgres/v2/indexes/validate_identifier
Modulelangchain_postgreshttps://python.langchain.com/python/langchain-postgres/langchain_postgres
Modulevectorstoreshttps://python.langchain.com/python/langchain-postgres/vectorstores
Modulechat_message_historiesClient for persisting chat message history in a Postgres database. This client provides support for both sync and async via psycopg 3.https://python.langchain.com/python/langchain-postgres/chat_message_histories
Moduletranslatorhttps://python.langchain.com/python/langchain-postgres/translator
Modulev2https://python.langchain.com/python/langchain-postgres/v2
Moduleasync_vectorstorehttps://python.langchain.com/python/langchain-postgres/v2/async_vectorstore
ModuleindexesIndex class to add vector indexes on the PGVectorStore. Learn more about vector indexes at https://github.com/pgvector/pgvector?tab=readme-ov-file#indexinghttps://python.langchain.com/python/langchain-postgres/v2/indexes
Modulevectorstoreshttps://python.langchain.com/python/langchain-postgres/v2/vectorstores
Moduleenginehttps://python.langchain.com/python/langchain-postgres/v2/engine
TypeMatrixhttps://python.langchain.com/python/langchain-postgres/_utils/Matrix
TypeDBConnectionhttps://python.langchain.com/python/langchain-postgres/vectorstores/DBConnection

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.