mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
@@ -171,7 +171,8 @@ class Pinecone_VectorStores implements INode {
|
||||
const pineconeApiKey = getCredentialParam('pineconeApiKey', credentialData, nodeData)
|
||||
|
||||
const client = new Pinecone({
|
||||
apiKey: pineconeApiKey
|
||||
apiKey: pineconeApiKey,
|
||||
sourceTag: 'flowise'
|
||||
})
|
||||
|
||||
await client.describeIndex(index)
|
||||
|
||||
@@ -97,7 +97,8 @@ class Pinecone_Existing_VectorStores implements INode {
|
||||
const pineconeApiKey = getCredentialParam('pineconeApiKey', credentialData, nodeData)
|
||||
|
||||
const client = new Pinecone({
|
||||
apiKey: pineconeApiKey
|
||||
apiKey: pineconeApiKey,
|
||||
sourceTag: 'flowise'
|
||||
})
|
||||
|
||||
const pineconeIndex = client.Index(index)
|
||||
|
||||
@@ -233,7 +233,8 @@ class PineconeVectorStore implements VectorStore {
|
||||
private async getDb(): Promise<Pinecone> {
|
||||
if (!this.db) {
|
||||
this.db = new Pinecone({
|
||||
apiKey: this.apiKey
|
||||
apiKey: this.apiKey,
|
||||
sourceTag: 'flowise'
|
||||
})
|
||||
}
|
||||
return Promise.resolve(this.db)
|
||||
|
||||
@@ -98,7 +98,8 @@ class PineconeUpsert_VectorStores implements INode {
|
||||
const pineconeApiKey = getCredentialParam('pineconeApiKey', credentialData, nodeData)
|
||||
|
||||
const client = new Pinecone({
|
||||
apiKey: pineconeApiKey
|
||||
apiKey: pineconeApiKey,
|
||||
sourceTag: 'flowise'
|
||||
})
|
||||
|
||||
const pineconeIndex = client.Index(index)
|
||||
|
||||
Reference in New Issue
Block a user