Merge pull request #1047 from vectara/main

Minor update to Vectara modules
This commit is contained in:
Henry Heng
2023-10-13 13:44:53 +01:00
committed by GitHub
4 changed files with 10 additions and 7 deletions
@@ -32,7 +32,7 @@ class VectaraExisting_VectorStores implements INode {
} }
this.inputs = [ this.inputs = [
{ {
label: 'Vectara Metadata Filter', label: 'Metadata Filter',
name: 'filter', name: 'filter',
description: description:
'Filter to apply to Vectara metadata. Refer to the <a target="_blank" href="https://docs.flowiseai.com/vector-stores/vectara">documentation</a> on how to use Vectara filters with Flowise.', 'Filter to apply to Vectara metadata. Refer to the <a target="_blank" href="https://docs.flowiseai.com/vector-stores/vectara">documentation</a> on how to use Vectara filters with Flowise.',
@@ -105,7 +105,8 @@ class VectaraExisting_VectorStores implements INode {
const vectaraArgs: VectaraLibArgs = { const vectaraArgs: VectaraLibArgs = {
apiKey: apiKey, apiKey: apiKey,
customerId: customerId, customerId: customerId,
corpusId: corpusId corpusId: corpusId,
source: 'flowise'
} }
const vectaraFilter: VectaraFilter = {} const vectaraFilter: VectaraFilter = {}
@@ -39,7 +39,7 @@ class VectaraUpload_VectorStores implements INode {
type: 'file' type: 'file'
}, },
{ {
label: 'Vectara Metadata Filter', label: 'Metadata Filter',
name: 'filter', name: 'filter',
description: description:
'Filter to apply to Vectara metadata. Refer to the <a target="_blank" href="https://docs.flowiseai.com/vector-stores/vectara">documentation</a> on how to use Vectara filters with Flowise.', 'Filter to apply to Vectara metadata. Refer to the <a target="_blank" href="https://docs.flowiseai.com/vector-stores/vectara">documentation</a> on how to use Vectara filters with Flowise.',
@@ -113,7 +113,8 @@ class VectaraUpload_VectorStores implements INode {
const vectaraArgs: VectaraLibArgs = { const vectaraArgs: VectaraLibArgs = {
apiKey: apiKey, apiKey: apiKey,
customerId: customerId, customerId: customerId,
corpusId: corpusId corpusId: corpusId,
source: 'flowise'
} }
const vectaraFilter: VectaraFilter = {} const vectaraFilter: VectaraFilter = {}
@@ -41,7 +41,7 @@ class VectaraUpsert_VectorStores implements INode {
list: true list: true
}, },
{ {
label: 'Vectara Metadata Filter', label: 'Metadata Filter',
name: 'filter', name: 'filter',
description: description:
'Filter to apply to Vectara metadata. Refer to the <a target="_blank" href="https://docs.flowiseai.com/vector-stores/vectara">documentation</a> on how to use Vectara filters with Flowise.', 'Filter to apply to Vectara metadata. Refer to the <a target="_blank" href="https://docs.flowiseai.com/vector-stores/vectara">documentation</a> on how to use Vectara filters with Flowise.',
@@ -116,7 +116,8 @@ class VectaraUpsert_VectorStores implements INode {
const vectaraArgs: VectaraLibArgs = { const vectaraArgs: VectaraLibArgs = {
apiKey: apiKey, apiKey: apiKey,
customerId: customerId, customerId: customerId,
corpusId: corpusId corpusId: corpusId,
source: 'flowise'
} }
const vectaraFilter: VectaraFilter = {} const vectaraFilter: VectaraFilter = {}
@@ -32,7 +32,7 @@
"id": "vectaraUpload_0-input-file-file" "id": "vectaraUpload_0-input-file-file"
}, },
{ {
"label": "Vectara Metadata Filter", "label": "Metadata Filter",
"name": "filter", "name": "filter",
"description": "Filter to apply to Vectara metadata. Refer to the <a target=\"_blank\" href=\"https://docs.flowiseai.com/vector-stores/vectara\">documentation</a> on how to use Vectara filters with Flowise.", "description": "Filter to apply to Vectara metadata. Refer to the <a target=\"_blank\" href=\"https://docs.flowiseai.com/vector-stores/vectara\">documentation</a> on how to use Vectara filters with Flowise.",
"type": "string", "type": "string",