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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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