Skip to content

Commit 0d6863b

Browse files
committed
fix: chroma store incompat with Symfony 6.4 uid
1 parent a74bfd3 commit 0d6863b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Store/ChromaDb/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function addDocuments(array $documents): void
3636
$this->logger->warning('Document {id} does not have a vector', ['id' => $document->id]);
3737
}
3838

39-
$ids[] = $document->id->toString();
39+
$ids[] = (string) $document->id;
4040
$vectors[] = $document->vector->getData();
4141
$metadata[] = $document->metadata->getArrayCopy();
4242
}

0 commit comments

Comments
 (0)