Skip to content

Commit f9195b6

Browse files
authored
Bugfix/PineconeArgumentError (#2322)
* add source tag to pinecone * update pinecone
1 parent 5a137a4 commit f9195b6

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

packages/components/nodes/vectorstores/Pinecone/Pinecone.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ class Pinecone_VectorStores implements INode {
171171
const pineconeApiKey = getCredentialParam('pineconeApiKey', credentialData, nodeData)
172172

173173
const client = new Pinecone({
174-
apiKey: pineconeApiKey,
175-
sourceTag: 'flowise'
174+
apiKey: pineconeApiKey
176175
})
177176

178177
await client.describeIndex(index)

packages/components/nodes/vectorstores/Pinecone/Pinecone_Existing.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ class Pinecone_Existing_VectorStores implements INode {
9797
const pineconeApiKey = getCredentialParam('pineconeApiKey', credentialData, nodeData)
9898

9999
const client = new Pinecone({
100-
apiKey: pineconeApiKey,
101-
sourceTag: 'flowise'
100+
apiKey: pineconeApiKey
102101
})
103102

104103
const pineconeIndex = client.Index(index)

packages/components/nodes/vectorstores/Pinecone/Pinecone_LlamaIndex.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ class PineconeVectorStore implements VectorStore {
233233
private async getDb(): Promise<Pinecone> {
234234
if (!this.db) {
235235
this.db = new Pinecone({
236-
apiKey: this.apiKey,
237-
sourceTag: 'flowise'
236+
apiKey: this.apiKey
238237
})
239238
}
240239
return Promise.resolve(this.db)

packages/components/nodes/vectorstores/Pinecone/Pinecone_Upsert.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ class PineconeUpsert_VectorStores implements INode {
9898
const pineconeApiKey = getCredentialParam('pineconeApiKey', credentialData, nodeData)
9999

100100
const client = new Pinecone({
101-
apiKey: pineconeApiKey,
102-
sourceTag: 'flowise'
101+
apiKey: pineconeApiKey
103102
})
104103

105104
const pineconeIndex = client.Index(index)

0 commit comments

Comments
 (0)