Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
41a8536c
authored
Dec 13, 2024
by
heheer
Committed by
GitHub
Dec 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix template (#3390)
parent
1e618502
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
51 deletions
+51
-51
projects/app/public/appMarketTemplates/CQ/template.json
+0
-0
projects/app/public/appMarketTemplates/chatGuide/template.json
+20
-20
projects/app/public/appMarketTemplates/google/template.json
+1
-1
projects/app/public/appMarketTemplates/simpleDatasetChat/template.json
+30
-30
No files found.
projects/app/public/appMarketTemplates/CQ/template.json
View file @
41a8536c
This diff is collapsed.
Click to expand it.
projects/app/public/appMarketTemplates/chatGuide/template.json
View file @
41a8536c
...
@@ -23,14 +23,14 @@
...
@@ -23,14 +23,14 @@
{
{
"key"
:
"welcomeText"
,
"key"
:
"welcomeText"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.app.Welcome Text"
,
"label"
:
"core.app.Welcome Text"
,
"value"
:
"你好,我可以为你翻译各种语言,请告诉我你需要翻译成什么语言?"
"value"
:
"你好,我可以为你翻译各种语言,请告诉我你需要翻译成什么语言?"
},
},
{
{
"key"
:
"variables"
,
"key"
:
"variables"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
"core.app.Chat Variable"
,
"label"
:
"core.app.Chat Variable"
,
"value"
:
[
"value"
:
[
{
{
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
},
},
{
{
"key"
:
"questionGuide"
,
"key"
:
"questionGuide"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
"core.app.Question Guide"
,
"label"
:
"core.app.Question Guide"
,
"value"
:
false
"value"
:
false
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
{
{
"key"
:
"tts"
,
"key"
:
"tts"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"label"
:
""
,
"value"
:
{
"value"
:
{
"type"
:
"web"
"type"
:
"web"
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
{
{
"key"
:
"whisper"
,
"key"
:
"whisper"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"label"
:
""
,
"value"
:
{
"value"
:
{
"open"
:
false
,
"open"
:
false
,
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
{
{
"key"
:
"scheduleTrigger"
,
"key"
:
"scheduleTrigger"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"label"
:
""
,
"value"
:
null
"value"
:
null
}
}
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
{
{
"key"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
"toolDescription"
:
"用户问题"
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
"id"
:
"userChatInput"
,
"id"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"label"
:
"core.module.input.label.user question"
,
"label"
:
"core.module.input.label.user question"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
"type"
:
"FlowNodeOutputTypeEnum.static"
}
}
]
]
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
"FlowNodeInputTypeEnum.reference"
"FlowNodeInputTypeEnum.reference"
],
],
"label"
:
"core.module.input.label.aiModel"
,
"label"
:
"core.module.input.label.aiModel"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
"gpt-3.5-turbo"
"value"
:
"gpt-3.5-turbo"
},
},
{
{
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
0
,
"value"
:
0
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
0
,
"min"
:
0
,
"max"
:
10
,
"max"
:
10
,
"step"
:
1
"step"
:
1
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
2000
,
"value"
:
2000
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
100
,
"min"
:
100
,
"max"
:
4000
,
"max"
:
4000
,
"step"
:
50
"step"
:
50
...
@@ -167,25 +167,25 @@
...
@@ -167,25 +167,25 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
true
,
"value"
:
true
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
"valueType"
:
"boolean"
},
},
{
{
"key"
:
"quoteTemplate"
,
"key"
:
"quoteTemplate"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
},
{
{
"key"
:
"quotePrompt"
,
"key"
:
"quotePrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
},
{
{
"key"
:
"systemPrompt"
,
"key"
:
"systemPrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.textarea"
,
"FlowNodeInputTypeEnum.reference"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.textarea"
,
"FlowNodeInputTypeEnum.reference"
],
"max"
:
3000
,
"max"
:
3000
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.ai.Prompt"
,
"label"
:
"core.ai.Prompt"
,
"description"
:
"core.app.tip.systemPromptTip"
,
"description"
:
"core.app.tip.systemPromptTip"
,
"placeholder"
:
"core.app.tip.chatNodeSystemPromptTip"
,
"placeholder"
:
"core.app.tip.chatNodeSystemPromptTip"
,
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
"FlowNodeInputTypeEnum.numberInput"
,
"FlowNodeInputTypeEnum.numberInput"
,
"FlowNodeInputTypeEnum.reference"
"FlowNodeInputTypeEnum.reference"
],
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"label"
:
"core.module.input.label.chat history"
,
"label"
:
"core.module.input.label.chat history"
,
"required"
:
true
,
"required"
:
true
,
"min"
:
0
,
"min"
:
0
,
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
{
{
"key"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
,
"toolDescription"
:
"用户问题"
,
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
"label"
:
""
,
"label"
:
""
,
"debugLabel"
:
"知识库引用"
,
"debugLabel"
:
"知识库引用"
,
"description"
:
""
,
"description"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
datasetQuote"
"valueType"
:
"datasetQuote"
}
}
],
],
"outputs"
:
[
"outputs"
:
[
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
"key"
:
"history"
,
"key"
:
"history"
,
"label"
:
"core.module.output.label.New context"
,
"label"
:
"core.module.output.label.New context"
,
"description"
:
"core.module.output.description.New context"
,
"description"
:
"core.module.output.description.New context"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
"type"
:
"FlowNodeOutputTypeEnum.static"
},
},
{
{
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
"key"
:
"answerText"
,
"key"
:
"answerText"
,
"label"
:
"core.module.output.label.Ai response content"
,
"label"
:
"core.module.output.label.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
"type"
:
"FlowNodeOutputTypeEnum.static"
}
}
]
]
...
...
projects/app/public/appMarketTemplates/google/template.json
View file @
41a8536c
...
@@ -178,7 +178,7 @@
...
@@ -178,7 +178,7 @@
"key"
:
"NodeOutputKeyEnum.answerText"
,
"key"
:
"NodeOutputKeyEnum.answerText"
,
"label"
:
"core.module.output.label.Ai response content"
,
"label"
:
"core.module.output.label.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
"type"
:
"FlowNodeOutputTypeEnum.static"
}
}
]
]
...
...
projects/app/public/appMarketTemplates/simpleDatasetChat/template.json
View file @
41a8536c
...
@@ -22,20 +22,20 @@
...
@@ -22,20 +22,20 @@
{
{
"key"
:
"welcomeText"
,
"key"
:
"welcomeText"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.app.Welcome Text"
,
"label"
:
"core.app.Welcome Text"
,
"value"
:
"你好,我是知识库助手,请不要忘记选择知识库噢~
\n
[你是谁]
\n
[如何使用]"
"value"
:
"你好,我是知识库助手,请不要忘记选择知识库噢~
\n
[你是谁]
\n
[如何使用]"
},
},
{
{
"key"
:
"variables"
,
"key"
:
"variables"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
"core.app.Chat Variable"
,
"label"
:
"core.app.Chat Variable"
,
"value"
:
[]
"value"
:
[]
},
},
{
{
"key"
:
"questionGuide"
,
"key"
:
"questionGuide"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
"core.app.Question Guide"
,
"label"
:
"core.app.Question Guide"
,
"value"
:
false
"value"
:
false
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
{
{
"key"
:
"tts"
,
"key"
:
"tts"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"label"
:
""
,
"value"
:
{
"value"
:
{
"type"
:
"web"
"type"
:
"web"
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
{
{
"key"
:
"whisper"
,
"key"
:
"whisper"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"label"
:
""
,
"value"
:
{
"value"
:
{
"open"
:
false
,
"open"
:
false
,
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
{
{
"key"
:
"scheduleTrigger"
,
"key"
:
"scheduleTrigger"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"label"
:
""
,
"value"
:
null
"value"
:
null
}
}
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
{
{
"key"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
"toolDescription"
:
"用户问题"
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
"id"
:
"userChatInput"
,
"id"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"label"
:
"core.module.input.label.user question"
,
"label"
:
"core.module.input.label.user question"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
"type"
:
"FlowNodeOutputTypeEnum.static"
}
}
]
]
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
"FlowNodeInputTypeEnum.reference"
"FlowNodeInputTypeEnum.reference"
],
],
"label"
:
"core.module.input.label.aiModel"
,
"label"
:
"core.module.input.label.aiModel"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
"gpt-4o-mini"
"value"
:
"gpt-4o-mini"
},
},
{
{
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
3
,
"value"
:
3
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
0
,
"min"
:
0
,
"max"
:
10
,
"max"
:
10
,
"step"
:
1
"step"
:
1
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
1950
,
"value"
:
1950
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
100
,
"min"
:
100
,
"max"
:
4000
,
"max"
:
4000
,
"step"
:
50
"step"
:
50
...
@@ -149,25 +149,25 @@
...
@@ -149,25 +149,25 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
true
,
"value"
:
true
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
"valueType"
:
"boolean"
},
},
{
{
"key"
:
"quoteTemplate"
,
"key"
:
"quoteTemplate"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
},
{
{
"key"
:
"quotePrompt"
,
"key"
:
"quotePrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
},
{
{
"key"
:
"systemPrompt"
,
"key"
:
"systemPrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.textarea"
,
"FlowNodeInputTypeEnum.reference"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.textarea"
,
"FlowNodeInputTypeEnum.reference"
],
"max"
:
3000
,
"max"
:
3000
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.ai.Prompt"
,
"label"
:
"core.ai.Prompt"
,
"description"
:
"core.app.tip.systemPromptTip"
,
"description"
:
"core.app.tip.systemPromptTip"
,
"placeholder"
:
"core.app.tip.chatNodeSystemPromptTip"
,
"placeholder"
:
"core.app.tip.chatNodeSystemPromptTip"
,
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
"FlowNodeInputTypeEnum.numberInput"
,
"FlowNodeInputTypeEnum.numberInput"
,
"FlowNodeInputTypeEnum.reference"
"FlowNodeInputTypeEnum.reference"
],
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"label"
:
"core.module.input.label.chat history"
,
"label"
:
"core.module.input.label.chat history"
,
"required"
:
true
,
"required"
:
true
,
"min"
:
0
,
"min"
:
0
,
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
{
{
"key"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
,
"toolDescription"
:
"用户问题"
,
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
"label"
:
""
,
"label"
:
""
,
"debugLabel"
:
"知识库引用"
,
"debugLabel"
:
"知识库引用"
,
"description"
:
""
,
"description"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
datasetQuote"
,
"valueType"
:
"datasetQuote"
,
"value"
:
[
"iKBoX2vIzETU"
,
"quoteQA"
]
"value"
:
[
"iKBoX2vIzETU"
,
"quoteQA"
]
}
}
],
],
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
"key"
:
"history"
,
"key"
:
"history"
,
"label"
:
"core.module.output.label.New context"
,
"label"
:
"core.module.output.label.New context"
,
"description"
:
"core.module.output.description.New context"
,
"description"
:
"core.module.output.description.New context"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
"type"
:
"FlowNodeOutputTypeEnum.static"
},
},
{
{
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
"key"
:
"answerText"
,
"key"
:
"answerText"
,
"label"
:
"core.module.output.label.Ai response content"
,
"label"
:
"core.module.output.label.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
"type"
:
"FlowNodeOutputTypeEnum.static"
}
}
]
]
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
],
],
"label"
:
"core.module.input.label.Select dataset"
,
"label"
:
"core.module.input.label.Select dataset"
,
"value"
:
[],
"value"
:
[],
"valueType"
:
"
WorkflowIOValueTypeEnum.
selectDataset"
,
"valueType"
:
"selectDataset"
,
"list"
:
[],
"list"
:
[],
"required"
:
true
"required"
:
true
},
},
...
@@ -254,53 +254,53 @@
...
@@ -254,53 +254,53 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.selectDatasetParamsModal"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.selectDatasetParamsModal"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
0.4
,
"value"
:
0.4
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
"valueType"
:
"number"
},
},
{
{
"key"
:
"limit"
,
"key"
:
"limit"
,
"renderTypeList"
:
[
"hidden"
],
"renderTypeList"
:
[
"hidden"
],
"label"
:
""
,
"label"
:
""
,
"value"
:
1500
,
"value"
:
1500
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
"valueType"
:
"number"
},
},
{
{
"key"
:
"searchMode"
,
"key"
:
"searchMode"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
"embedding"
"value"
:
"embedding"
},
},
{
{
"key"
:
"usingReRank"
,
"key"
:
"usingReRank"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"value"
:
false
"value"
:
false
},
},
{
{
"key"
:
"datasetSearchUsingExtensionQuery"
,
"key"
:
"datasetSearchUsingExtensionQuery"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"value"
:
true
"value"
:
true
},
},
{
{
"key"
:
"datasetSearchExtensionModel"
,
"key"
:
"datasetSearchExtensionModel"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
},
{
{
"key"
:
"datasetSearchExtensionBg"
,
"key"
:
"datasetSearchExtensionBg"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
""
"value"
:
""
},
},
{
{
"key"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"required"
:
true
,
"toolDescription"
:
"需要检索的内容"
,
"toolDescription"
:
"需要检索的内容"
,
...
@@ -313,7 +313,7 @@
...
@@ -313,7 +313,7 @@
"key"
:
"quoteQA"
,
"key"
:
"quoteQA"
,
"label"
:
"core.module.Dataset quote.label"
,
"label"
:
"core.module.Dataset quote.label"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
datasetQuote"
,
"valueType"
:
"datasetQuote"
,
"description"
:
"特殊数组格式,搜索结果为空时,返回空数组。"
"description"
:
"特殊数组格式,搜索结果为空时,返回空数组。"
}
}
]
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment