Skip to content

Commit

Permalink
Bugfix/Pinecone Text Key (FlowiseAI#2708)
Browse files Browse the repository at this point in the history
* add source tag to pinecone

* update pinecone

* add text key to pinecone

* update pinecone version, and singleton
  • Loading branch information
HenryHengZJ authored Jun 24, 2024
1 parent e2ae524 commit 109b036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/nodes/vectorstores/Pinecone/Pinecone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class Pinecone_VectorStores implements INode {

const obj: PineconeStoreParams = {
pineconeIndex,
textKey: pineconeTextKey ?? 'text'
textKey: pineconeTextKey || 'text'
}

if (pineconeNamespace) obj.namespace = pineconeNamespace
Expand Down Expand Up @@ -203,7 +203,7 @@ class Pinecone_VectorStores implements INode {

const obj: PineconeStoreParams = {
pineconeIndex,
textKey: pineconeTextKey ?? 'text'
textKey: pineconeTextKey || 'text'
}

if (pineconeNamespace) obj.namespace = pineconeNamespace
Expand Down

0 comments on commit 109b036

Please sign in to comment.