Skip to content

Commit

Permalink
fix: chroma store incompat with Symfony 6.4 uid
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-hertel committed Sep 21, 2024
1 parent 867bd99 commit a24a92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store/ChromaDb/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function addDocuments(array $documents): void
$this->logger->warning('Document {id} does not have a vector', ['id' => $document->id]);
}

$ids[] = $document->id->toString();
$ids[] = (string) $document->id;
$vectors[] = $document->vector->getData();
$metadata[] = $document->metadata->getArrayCopy();
}
Expand Down

0 comments on commit a24a92d

Please sign in to comment.