Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 496d887

Browse files
authored
fix: missing namespace when upserting in Pinecone store (#310)
When adding documents, it does not take configured namespace into consideration, this PR fixes it.
1 parent f411322 commit 496d887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/Pinecone/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function add(VectorDocument ...$documents): void
4040
return;
4141
}
4242

43-
$this->getVectors()->upsert($vectors);
43+
$this->getVectors()->upsert($vectors, $this->namespace);
4444
}
4545

4646
public function query(Vector $vector, array $options = [], ?float $minScore = null): array

0 commit comments

Comments
 (0)