mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +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)
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"@mistralai/mistralai": "0.1.3",
|
||||
"@notionhq/client": "^2.2.8",
|
||||
"@opensearch-project/opensearch": "^1.2.0",
|
||||
"@pinecone-database/pinecone": "2.1.0",
|
||||
"@pinecone-database/pinecone": "2.2.0",
|
||||
"@qdrant/js-client-rest": "^1.2.2",
|
||||
"@supabase/supabase-js": "^2.29.0",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
|
||||
Generated
+32180
-32184
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user