fix: resolves pg asyncpg UUID to UUID

This commit is contained in:
hajdul88 2024-11-07 16:19:38 +01:00 committed by Leon Luithlen
parent 68700f32c7
commit 0b3a94e90b

View file

@ -209,7 +209,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