mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 01:19:31 +00:00
PGVector fix (#12592)
latest release broken, this fixes it --------- Co-authored-by: Roman Vasilyev <rvasilyev@mozilla.com> Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
This commit is contained in:
parent
9e17d1a225
commit
c9a6940d58
@ -130,6 +130,7 @@ class PGVector(VectorStore):
|
|||||||
self.engine_args = engine_args or {}
|
self.engine_args = engine_args or {}
|
||||||
# Create a connection if not provided, otherwise use the provided connection
|
# Create a connection if not provided, otherwise use the provided connection
|
||||||
self._conn = connection if connection else self.connect()
|
self._conn = connection if connection else self.connect()
|
||||||
|
self.__post_init__()
|
||||||
|
|
||||||
def __post_init__(
|
def __post_init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
Reference in New Issue
Block a user