update Vectara template

This commit is contained in:
Henry
2023-08-16 02:02:49 +01:00
parent 760ab3148c
commit 8034076361
@@ -4,14 +4,14 @@
{ {
"width": 300, "width": 300,
"height": 408, "height": 408,
"id": "vectaraExisting_0", "id": "vectaraUpsert_0",
"position": { "x": 438, "y": 214 }, "position": { "x": 438, "y": 214 },
"type": "customNode", "type": "customNode",
"data": { "data": {
"id": "vectaraExisting_0", "id": "vectaraUpsert_0",
"label": "Vectara Upsert Document", "label": "Vectara Upsert Document",
"version": 1, "version": 1,
"name": "vectaraExisting", "name": "vectaraUpsert",
"type": "Vectara", "type": "Vectara",
"baseClasses": ["Vectara", "VectorStoreRetriever", "BaseRetriever"], "baseClasses": ["Vectara", "VectorStoreRetriever", "BaseRetriever"],
"category": "Vector Stores", "category": "Vector Stores",
@@ -22,7 +22,7 @@
"name": "credential", "name": "credential",
"type": "credential", "type": "credential",
"credentialNames": ["vectaraApi"], "credentialNames": ["vectaraApi"],
"id": "vectaraExisting_0-input-credential-credential" "id": "vectaraUpsert_0-input-credential-credential"
}, },
{ {
"label": "Filter", "label": "Filter",
@@ -30,7 +30,7 @@
"type": "json", "type": "json",
"additionalParams": true, "additionalParams": true,
"optional": true, "optional": true,
"id": "vectaraExisting_0-input-filter-json" "id": "vectaraUpsert_0-input-filter-json"
}, },
{ {
"label": "Lambda", "label": "Lambda",
@@ -38,7 +38,7 @@
"type": "number", "type": "number",
"additionalParams": true, "additionalParams": true,
"optional": true, "optional": true,
"id": "vectaraExisting_0-input-lambda-number" "id": "vectaraUpsert_0-input-lambda-number"
}, },
{ {
"label": "Top K", "label": "Top K",
@@ -48,7 +48,7 @@
"type": "number", "type": "number",
"additionalParams": true, "additionalParams": true,
"optional": true, "optional": true,
"id": "vectaraExisting_0-input-topK-number" "id": "vectaraUpsert_0-input-topK-number"
} }
], ],
"inputAnchors": [ "inputAnchors": [
@@ -57,7 +57,7 @@
"name": "document", "name": "document",
"type": "Document", "type": "Document",
"list": true, "list": true,
"id": "vectaraExisting_0-input-document-Document" "id": "vectaraUpsert_0-input-document-Document"
} }
], ],
"inputs": { "inputs": {
@@ -73,13 +73,13 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"id": "vectaraExisting_0-output-retriever-Vectara|VectorStoreRetriever|BaseRetriever", "id": "vectaraUpsert_0-output-retriever-Vectara|VectorStoreRetriever|BaseRetriever",
"name": "retriever", "name": "retriever",
"label": "Vectara Retriever", "label": "Vectara Retriever",
"type": "Vectara | VectorStoreRetriever | BaseRetriever" "type": "Vectara | VectorStoreRetriever | BaseRetriever"
}, },
{ {
"id": "vectaraExisting_0-output-vectorStore-Vectara|VectorStore", "id": "vectaraUpsert_0-output-vectorStore-Vectara|VectorStore",
"name": "vectorStore", "name": "vectorStore",
"label": "Vectara Vector Store", "label": "Vectara Vector Store",
"type": "Vectara | VectorStore" "type": "Vectara | VectorStore"
@@ -392,7 +392,7 @@
], ],
"inputs": { "inputs": {
"model": "{{chatOpenAI_0.data.instance}}", "model": "{{chatOpenAI_0.data.instance}}",
"vectorStoreRetriever": "{{vectaraExisting_0.data.instance}}", "vectorStoreRetriever": "{{vectaraUpsert_0.data.instance}}",
"memory": "", "memory": "",
"returnSourceDocuments": "", "returnSourceDocuments": "",
"systemMessagePrompt": "", "systemMessagePrompt": "",
@@ -418,19 +418,19 @@
{ {
"source": "pdfFile_0", "source": "pdfFile_0",
"sourceHandle": "pdfFile_0-output-pdfFile-Document", "sourceHandle": "pdfFile_0-output-pdfFile-Document",
"target": "vectaraExisting_0", "target": "vectaraUpsert_0",
"targetHandle": "vectaraExisting_0-input-document-Document", "targetHandle": "vectaraUpsert_0-input-document-Document",
"type": "buttonedge", "type": "buttonedge",
"id": "pdfFile_0-pdfFile_0-output-pdfFile-Document-vectaraExisting_0-vectaraExisting_0-input-document-Document", "id": "pdfFile_0-pdfFile_0-output-pdfFile-Document-vectaraUpsert_0-vectaraUpsert_0-input-document-Document",
"data": { "label": "" } "data": { "label": "" }
}, },
{ {
"source": "vectaraExisting_0", "source": "vectaraUpsert_0",
"sourceHandle": "vectaraExisting_0-output-retriever-Vectara|VectorStoreRetriever|BaseRetriever", "sourceHandle": "vectaraUpsert_0-output-retriever-Vectara|VectorStoreRetriever|BaseRetriever",
"target": "conversationalRetrievalQAChain_0", "target": "conversationalRetrievalQAChain_0",
"targetHandle": "conversationalRetrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever", "targetHandle": "conversationalRetrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever",
"type": "buttonedge", "type": "buttonedge",
"id": "vectaraExisting_0-vectaraExisting_0-output-retriever-Vectara|VectorStoreRetriever|BaseRetriever-conversationalRetrievalQAChain_0-conversationalRetrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever", "id": "vectaraUpsert_0-vectaraUpsert_0-output-retriever-Vectara|VectorStoreRetriever|BaseRetriever-conversationalRetrievalQAChain_0-conversationalRetrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever",
"data": { "label": "" } "data": { "label": "" }
}, },
{ {