From 9e10c611bcdb44cf637314b29379285485566be5 Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:19:38 +0100 Subject: [PATCH] fix: resolves pg asyncpg UUID to UUID --- .../infrastructure/databases/vector/pgvector/PGVectorAdapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/vector/pgvector/PGVectorAdapter.py b/cognee/infrastructure/databases/vector/pgvector/PGVectorAdapter.py index 235cc7745..2e9a3764b 100644 --- a/cognee/infrastructure/databases/vector/pgvector/PGVectorAdapter.py +++ b/cognee/infrastructure/databases/vector/pgvector/PGVectorAdapter.py @@ -203,7 +203,7 @@ class PGVectorAdapter(SQLAlchemyAdapter, VectorDBInterface): # Create and return ScoredResult objects return [ ScoredResult( - id = UUID(row.id), + id = UUID(str(row.id)), payload = row.payload, score = row.similarity ) for row in vector_list