Bugfix/Pinecone Text Key (#2708)

* add source tag to pinecone

* update pinecone

* add text key to pinecone

* update pinecone version, and singleton
This commit is contained in:
Henry Heng
2024-06-24 02:08:30 +01:00
committed by GitHub
parent e2ae524edd
commit 109b0367cc
@@ -156,7 +156,7 @@ class Pinecone_VectorStores implements INode {
const obj: PineconeStoreParams = {
pineconeIndex,
textKey: pineconeTextKey ?? 'text'
textKey: pineconeTextKey || 'text'
}
if (pineconeNamespace) obj.namespace = pineconeNamespace
@@ -203,7 +203,7 @@ class Pinecone_VectorStores implements INode {
const obj: PineconeStoreParams = {
pineconeIndex,
textKey: pineconeTextKey ?? 'text'
textKey: pineconeTextKey || 'text'
}
if (pineconeNamespace) obj.namespace = pineconeNamespace