Skip to content

The agent engineering platform.

PGVector logger message level (#4920)

Juanma Tristancho729e935ea47b
diff --git a/langchain/vectorstores/pgvector.py b/langchain/vectorstores/pgvector.py
index 81951f490a..c042cc2f65 100644
--- a/langchain/vectorstores/pgvector.py
+++ b/langchain/vectorstores/pgvector.py
@@ -184,7 +184,7 @@ class PGVector(VectorStore):
with Session(self._conn) as session:
collection = self.get_collection(session)
if not collection:
- self.logger.error("Collection not found")
+ self.logger.warning("Collection not found")
return
session.delete(collection)
session.commit()