Skip to content

Commit 138e99d

Browse files
committed
Use the correct key for making a query
1 parent 83582b6 commit 138e99d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/src/Bridge/Qdrant/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function add(VectorDocument ...$documents): void
5252
public function query(Vector $vector, array $options = []): array
5353
{
5454
$payload = [
55-
'vector' => $vector->getData(),
55+
'query' => $vector->getData(),
5656
'with_payload' => true,
5757
'with_vector' => true,
5858
];

0 commit comments

Comments
 (0)