Skip to content

Commit ecaab50

Browse files
committed
chore: update rag node
1 parent 02ad958 commit ecaab50

1 file changed

Lines changed: 26 additions & 4 deletions

File tree

lib/node-data.js

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,13 @@ export const nodeData = [
812812
desc: "Process your Knowledge Base to use it in LLMs",
813813
longDescription:
814814
"The Knowledge Base node processes documents or data to create a Retrieval-Augmented Generation (RAG) database that can be used to enhance LLM responses with specific information. This allows your AI agents to access and reference custom knowledge when generating responses.",
815-
inputs: [],
815+
inputs: [
816+
{
817+
desc: "The knowledge base link",
818+
name: "Link",
819+
type: "Text",
820+
},
821+
],
816822
outputs: [
817823
{
818824
desc: "RAG Database",
@@ -822,10 +828,26 @@ export const nodeData = [
822828
],
823829
fields: [
824830
{
825-
desc: "The knowledge base file link",
826-
name: "File Link",
831+
desc: "The type of data you are providing",
832+
name: "Data Type",
833+
type: "select",
834+
value: "Link to a file",
835+
options: [
836+
"Link to a file",
837+
"Link to a webpage",
838+
],
839+
},
840+
{
841+
desc: "The knowledge base link",
842+
name: "Link",
827843
type: "Text",
828-
value: "https://yourfilelink.com/",
844+
value: "https://yourlink.com/",
845+
},
846+
{
847+
desc: "Go deeper into the given link to gain further information (only available for webpage type RAG)",
848+
name: "Deep Search",
849+
type: "CheckBox",
850+
value: false,
829851
},
830852
],
831853
diff: "easy",

0 commit comments

Comments
 (0)