We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 730ba9b commit 2591760Copy full SHA for 2591760
src/Retrieval/Document.php
@@ -40,7 +40,7 @@ public static function from(array $document): self
40
{
41
return new self(
42
$document['content'],
43
- $document['embeddings'],
+ Vector::from($document['embeddings']['values']),
44
Metadata::from($document['metadata']),
45
);
46
}
0 commit comments