updated component to V2.0

Updated marketplace  "Chain Upload" JSON file
This commit is contained in:
Ofer Mendelevitch 2024-01-08 16:09:50 -08:00 committed by Ilango
parent 2484d2a676
commit 7acbc0b068
2 changed files with 29 additions and 4 deletions

View File

@ -22,7 +22,7 @@ class Vectara_VectorStores implements INode {
constructor() { constructor() {
this.label = 'Vectara' this.label = 'Vectara'
this.name = 'vectara' this.name = 'vectara'
this.version = 1.0 this.version = 2.0
this.type = 'Vectara' this.type = 'Vectara'
this.icon = 'vectara.png' this.icon = 'vectara.png'
this.category = 'Vector Stores' this.category = 'Vector Stores'

View File

@ -350,13 +350,36 @@
{ {
"label": "Top K", "label": "Top K",
"name": "topK", "name": "topK",
"description": "Number of top results to fetch. Defaults to 4", "description": "Number of top results to fetch. Defaults to 5",
"placeholder": "4", "placeholder": "5",
"type": "number", "type": "number",
"additionalParams": true, "additionalParams": true,
"optional": true, "optional": true,
"id": "vectara_0-input-topK-number" "id": "vectara_0-input-topK-number"
},
{
"label": "MMR K",
"name": "mmrK",
"description": "The number of results to rerank if MMR is enabled.",
"placeholder": "50",
"type": "number",
"additionalParams": true,
"optional": true,
"id": "vectara_0-input-mmrK-number"
},
{
"label": "MMR Diversity Bias",
"name": "mmrDiversityBias",
"step": 0.1,
"description": "Diversity Bias parameter for MMR, if enabled. 0.0 means no diversiry bias, 1.0 means maximum diversity bias. Defaults to 0.0 (MMR disabled).",
"placeholder": "0.0",
"type": "number",
"additionalParams": true,
"optional": true,
"id": "vectara_0-input-mmrDiversityBias-number"
} }
], ],
"inputAnchors": [ "inputAnchors": [
{ {
@ -374,7 +397,9 @@
"sentencesBefore": "", "sentencesBefore": "",
"sentencesAfter": "", "sentencesAfter": "",
"lambda": "", "lambda": "",
"topK": "" "topK": "",
"mmrK": "",
"mmrDiversityBias": ""
}, },
"outputAnchors": [ "outputAnchors": [
{ {