fix vectara upsert naming

This commit is contained in:
chungyau97
2023-08-14 17:07:56 +08:00
parent fb115a5f69
commit 350a265cac
@@ -5,7 +5,7 @@ import { VectaraStore, VectaraLibArgs, VectaraFilter } from 'langchain/vectorsto
import { Document } from 'langchain/document' import { Document } from 'langchain/document'
import { flatten } from 'lodash' import { flatten } from 'lodash'
class VectaraExisting_VectorStores implements INode { class VectaraUpsert_VectorStores implements INode {
label: string label: string
name: string name: string
version: number version: number
@@ -20,7 +20,7 @@ class VectaraExisting_VectorStores implements INode {
constructor() { constructor() {
this.label = 'Vectara Upsert Document' this.label = 'Vectara Upsert Document'
this.name = 'vectaraExisting' this.name = 'vectaraUpsert'
this.version = 1.0 this.version = 1.0
this.type = 'Vectara' this.type = 'Vectara'
this.icon = 'vectara.png' this.icon = 'vectara.png'
@@ -125,4 +125,4 @@ class VectaraExisting_VectorStores implements INode {
} }
} }
module.exports = { nodeClass: VectaraExisting_VectorStores } module.exports = { nodeClass: VectaraUpsert_VectorStores }