From c9a6940d5840d9b633de8408d3c67bd78c8de083 Mon Sep 17 00:00:00 2001 From: Roman Vasilyev Date: Tue, 31 Oct 2023 14:01:15 -0700 Subject: [PATCH] PGVector fix (#12592) latest release broken, this fixes it --------- Co-authored-by: Roman Vasilyev Co-authored-by: Eugene Yurtsev --- libs/langchain/langchain/vectorstores/pgvector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/langchain/langchain/vectorstores/pgvector.py b/libs/langchain/langchain/vectorstores/pgvector.py index bcf05eacf9..a0e61a67b7 100644 --- a/libs/langchain/langchain/vectorstores/pgvector.py +++ b/libs/langchain/langchain/vectorstores/pgvector.py @@ -130,6 +130,7 @@ class PGVector(VectorStore): self.engine_args = engine_args or {} # Create a connection if not provided, otherwise use the provided connection self._conn = connection if connection else self.connect() + self.__post_init__() def __post_init__( self,