diff --git a/packages/server/marketplaces/chatflows/Conversational Retrieval QA Chain.json b/packages/server/marketplaces/chatflows/Conversational Retrieval QA Chain.json index 725ca7c9..8bbb904e 100644 --- a/packages/server/marketplaces/chatflows/Conversational Retrieval QA Chain.json +++ b/packages/server/marketplaces/chatflows/Conversational Retrieval QA Chain.json @@ -426,7 +426,7 @@ "id": "textFile_0", "label": "Text File", "name": "textFile", - "version": 1, + "version": 2, "type": "Document", "baseClasses": ["Document"], "category": "Document Loaders", @@ -463,13 +463,29 @@ }, "outputAnchors": [ { - "id": "textFile_0-output-textFile-Document", - "name": "textFile", - "label": "Document", - "type": "Document" + "name": "output", + "label": "Output", + "type": "options", + "options": [ + { + "id": "textFile_0-output-document-Document", + "name": "document", + "label": "Document", + "type": "Document" + }, + { + "id": "textFile_0-output-text-string|json", + "name": "text", + "label": "Text", + "type": "string | json" + } + ], + "default": "document" } ], - "outputs": {}, + "outputs": { + "output": "document" + }, "selected": false }, "selected": false, diff --git a/packages/server/marketplaces/chatflows/Local QnA.json b/packages/server/marketplaces/chatflows/Local QnA.json index 21bdf744..fb13ba21 100644 --- a/packages/server/marketplaces/chatflows/Local QnA.json +++ b/packages/server/marketplaces/chatflows/Local QnA.json @@ -410,13 +410,29 @@ }, "outputAnchors": [ { - "id": "textFile_0-output-textFile-Document", - "name": "textFile", - "label": "Document", - "type": "Document" + "name": "output", + "label": "Output", + "type": "options", + "options": [ + { + "id": "textFile_0-output-document-Document", + "name": "document", + "label": "Document", + "type": "Document" + }, + { + "id": "textFile_0-output-text-string|json", + "name": "text", + "label": "Text", + "type": "string | json" + } + ], + "default": "document" } ], - "outputs": {}, + "outputs": { + "output": "document" + }, "selected": false }, "selected": false, diff --git a/packages/server/marketplaces/chatflows/Metadata Filter Upsert.json b/packages/server/marketplaces/chatflows/Metadata Filter Upsert.json index 525fa1b9..6e79301e 100644 --- a/packages/server/marketplaces/chatflows/Metadata Filter Upsert.json +++ b/packages/server/marketplaces/chatflows/Metadata Filter Upsert.json @@ -109,13 +109,29 @@ }, "outputAnchors": [ { - "id": "textFile_0-output-textFile-Document", - "name": "textFile", - "label": "Document", - "type": "Document" + "name": "output", + "label": "Output", + "type": "options", + "options": [ + { + "id": "textFile_0-output-document-Document", + "name": "document", + "label": "Document", + "type": "Document" + }, + { + "id": "textFile_0-output-text-string|json", + "name": "text", + "label": "Text", + "type": "string | json" + } + ], + "default": "document" } ], - "outputs": {}, + "outputs": { + "output": "document" + }, "selected": false }, "selected": false, diff --git a/packages/server/marketplaces/chatflows/WebPage QnA.json b/packages/server/marketplaces/chatflows/WebPage QnA.json index 66bac37f..da21cb2d 100644 --- a/packages/server/marketplaces/chatflows/WebPage QnA.json +++ b/packages/server/marketplaces/chatflows/WebPage QnA.json @@ -433,7 +433,7 @@ "data": { "id": "cheerioWebScraper_0", "label": "Cheerio Web Scraper", - "version": 1, + "version": 1.1, "name": "cheerioWebScraper", "type": "Document", "baseClasses": ["Document"], @@ -477,6 +477,15 @@ "warning": "Retrieving all links might take long time, and all links will be upserted again if the flow's state changed (eg: different URL, chunk size, etc)", "id": "cheerioWebScraper_0-input-limit-number" }, + { + "label": "Selector (CSS)", + "name": "selector", + "type": "string", + "description": "Specify a CSS selector to select the content to be extracted", + "optional": true, + "additionalParams": true, + "id": "cheerioWebScraper_0-input-selector-string" + }, { "label": "Metadata", "name": "metadata",