Skip to content

Commit 6819d5f

Browse files
chore: Revert node names changes + update new node names to correct format
1 parent 7728178 commit 6819d5f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

packages/components/nodes/memory/ZepMemory/ZepMemory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ZepMemory_Memory implements INode {
1818

1919
constructor() {
2020
this.label = 'Zep Memory - Open Source'
21-
this.name = 'Zep Memory - Open Source'
21+
this.name = 'ZepMemory'
2222
this.version = 2.0
2323
this.type = 'ZepMemory'
2424
this.icon = 'zep.svg'

packages/components/nodes/memory/ZepMemoryCloud/ZepMemoryCloud.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ZepMemoryCloud_Memory implements INode {
2020

2121
constructor() {
2222
this.label = 'Zep Memory - Cloud'
23-
this.name = 'Zep Memory - Cloud'
23+
this.name = 'ZepMemoryCloud'
2424
this.version = 2.0
2525
this.type = 'ZepMemory'
2626
this.icon = 'zep.svg'

packages/components/nodes/vectorstores/Zep/Zep.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Zep_VectorStores implements INode {
2323

2424
constructor() {
2525
this.label = 'Zep Collection - Open Source'
26-
this.name = 'Zep Collection - Open Source'
26+
this.name = 'zep'
2727
this.version = 2.0
2828
this.type = 'Zep'
2929
this.icon = 'zep.svg'

packages/components/nodes/vectorstores/Zep/Zep_Existing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Zep_Existing_VectorStores implements INode {
2121

2222
constructor() {
2323
this.label = 'Zep Load Existing Index - Open Source'
24-
this.name = 'Zep Existing Index - Open Source'
24+
this.name = 'zepExistingIndex'
2525
this.version = 1.0
2626
this.type = 'Zep'
2727
this.icon = 'zep.svg'

packages/components/nodes/vectorstores/Zep/Zep_Upsert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Zep_Upsert_VectorStores implements INode {
2121

2222
constructor() {
2323
this.label = 'Zep Upsert Document - Open Source'
24-
this.name = 'Zep Upsert - Open Source'
24+
this.name = 'zepUpsert'
2525
this.version = 1.0
2626
this.type = 'Zep'
2727
this.icon = 'zep.svg'

packages/components/nodes/vectorstores/ZepCloud/ZepCloud.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { ICommonObject, INode, INodeData, INodeOutputsValue, INodeParams } from
77
import { getBaseClasses, getCredentialData, getCredentialParam } from '../../../src/utils'
88
import { addMMRInputParams, resolveVectorStoreOrRetriever } from '../VectorStoreUtils'
99
import { FakeEmbeddings } from 'langchain/embeddings/fake'
10+
1011
class Zep_CloudVectorStores implements INode {
1112
label: string
1213
name: string
@@ -23,7 +24,7 @@ class Zep_CloudVectorStores implements INode {
2324

2425
constructor() {
2526
this.label = 'Zep Collection - Cloud'
26-
this.name = 'Zep Collection - Cloud'
27+
this.name = 'zepCloud'
2728
this.version = 2.0
2829
this.type = 'Zep'
2930
this.icon = 'zep.svg'
@@ -100,7 +101,7 @@ class Zep_CloudVectorStores implements INode {
100101
finalDocs.push(new Document(flattenDocs[i]))
101102
}
102103
}
103-
const client = await ZepClient.init(apiKey, 'https://api.development.getzep.com')
104+
const client = await ZepClient.init(apiKey)
104105
const zepConfig = {
105106
apiKey: apiKey,
106107
collectionName: zepCollection,
@@ -127,8 +128,7 @@ class Zep_CloudVectorStores implements INode {
127128
if (zepMetadataFilter) {
128129
zepConfig.filter = typeof zepMetadataFilter === 'object' ? zepMetadataFilter : JSON.parse(zepMetadataFilter)
129130
}
130-
const client = await ZepClient.init(zepConfig.apiKey, zepConfig.apiUrl)
131-
zepConfig.client = client
131+
zepConfig.client = await ZepClient.init(zepConfig.apiKey)
132132
const vectorStore = await ZepExistingVS.init(zepConfig)
133133
return resolveVectorStoreOrRetriever(nodeData, vectorStore)
134134
}

0 commit comments

Comments
 (0)