Skip to content

Commit 4283023

Browse files
authored
Merge pull request #240 from viicslen/fix/qdrant-add-documents-payload
Fix payload for adding multiple documents in QdrantVectorStore
2 parents 4b3aa29 + 01d5e9e commit 4283023

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/RAG/VectorStore/QdrantVectorStore.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ public function addDocuments(array $documents): void
6767
], $documents);
6868

6969
$this->client->put('points', [
70-
RequestOptions::JSON => [
71-
'operations' => [
72-
['upsert' => ['points' => $points]]
73-
],
74-
]
70+
RequestOptions::JSON => ['points' => $points]
7571
]);
7672
}
7773

0 commit comments

Comments
 (0)