langchain-postgres’s PGVector, providing a unified vector storage service for both Knowledge Base (RAG retrieval) and Memory (long-term memory).
Storage Architecture
Collection Design
Each collection is obtained via
VectorStore.get_instance(collection_name, embeddings), and the same collection + embeddings combination shares a singleton instance.