fix: resolves pg asyncpg UUID to UUID
This commit is contained in:
parent
68700f32c7
commit
0b3a94e90b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue