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
Hide 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 @@
{
"key"
:
"welcomeText"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.app.Welcome Text"
,
"value"
:
"你好,我可以为你翻译各种语言,请告诉我你需要翻译成什么语言?"
},
{
"key"
:
"variables"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
"core.app.Chat Variable"
,
"value"
:
[
{
...
...
@@ -53,7 +53,7 @@
},
{
"key"
:
"questionGuide"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
"core.app.Question Guide"
,
"value"
:
false
...
...
@@ -61,7 +61,7 @@
{
"key"
:
"tts"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"value"
:
{
"type"
:
"web"
...
...
@@ -70,7 +70,7 @@
{
"key"
:
"whisper"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"value"
:
{
"open"
:
false
,
...
...
@@ -81,7 +81,7 @@
{
"key"
:
"scheduleTrigger"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"value"
:
null
}
...
...
@@ -103,7 +103,7 @@
{
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
...
...
@@ -114,7 +114,7 @@
"id"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"label"
:
"core.module.input.label.user question"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
}
]
...
...
@@ -139,7 +139,7 @@
"FlowNodeInputTypeEnum.reference"
],
"label"
:
"core.module.input.label.aiModel"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
"gpt-3.5-turbo"
},
{
...
...
@@ -147,7 +147,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"value"
:
0
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
0
,
"max"
:
10
,
"step"
:
1
...
...
@@ -157,7 +157,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"value"
:
2000
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
100
,
"max"
:
4000
,
"step"
:
50
...
...
@@ -167,25 +167,25 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"value"
:
true
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
"valueType"
:
"boolean"
},
{
"key"
:
"quoteTemplate"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
{
"key"
:
"quotePrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
{
"key"
:
"systemPrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.textarea"
,
"FlowNodeInputTypeEnum.reference"
],
"max"
:
3000
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.ai.Prompt"
,
"description"
:
"core.app.tip.systemPromptTip"
,
"placeholder"
:
"core.app.tip.chatNodeSystemPromptTip"
,
...
...
@@ -197,7 +197,7 @@
"FlowNodeInputTypeEnum.numberInput"
,
"FlowNodeInputTypeEnum.reference"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"label"
:
"core.module.input.label.chat history"
,
"required"
:
true
,
"min"
:
0
,
...
...
@@ -207,7 +207,7 @@
{
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
,
...
...
@@ -219,7 +219,7 @@
"label"
:
""
,
"debugLabel"
:
"知识库引用"
,
"description"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
datasetQuote"
"valueType"
:
"datasetQuote"
}
],
"outputs"
:
[
...
...
@@ -228,7 +228,7 @@
"key"
:
"history"
,
"label"
:
"core.module.output.label.New context"
,
"description"
:
"core.module.output.description.New context"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
},
{
...
...
@@ -236,7 +236,7 @@
"key"
:
"answerText"
,
"label"
:
"core.module.output.label.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
}
]
...
...
projects/app/public/appMarketTemplates/google/template.json
View file @
41a8536c
...
...
@@ -178,7 +178,7 @@
"key"
:
"NodeOutputKeyEnum.answerText"
,
"label"
:
"core.module.output.label.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
}
]
...
...
projects/app/public/appMarketTemplates/simpleDatasetChat/template.json
View file @
41a8536c
...
...
@@ -22,20 +22,20 @@
{
"key"
:
"welcomeText"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.app.Welcome Text"
,
"value"
:
"你好,我是知识库助手,请不要忘记选择知识库噢~
\n
[你是谁]
\n
[如何使用]"
},
{
"key"
:
"variables"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
"core.app.Chat Variable"
,
"value"
:
[]
},
{
"key"
:
"questionGuide"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
"core.app.Question Guide"
,
"value"
:
false
...
...
@@ -43,7 +43,7 @@
{
"key"
:
"tts"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"value"
:
{
"type"
:
"web"
...
...
@@ -52,7 +52,7 @@
{
"key"
:
"whisper"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"value"
:
{
"open"
:
false
,
...
...
@@ -63,7 +63,7 @@
{
"key"
:
"scheduleTrigger"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
any"
,
"valueType"
:
"any"
,
"label"
:
""
,
"value"
:
null
}
...
...
@@ -85,7 +85,7 @@
{
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
...
...
@@ -96,7 +96,7 @@
"id"
:
"userChatInput"
,
"key"
:
"userChatInput"
,
"label"
:
"core.module.input.label.user question"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
}
]
...
...
@@ -121,7 +121,7 @@
"FlowNodeInputTypeEnum.reference"
],
"label"
:
"core.module.input.label.aiModel"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
"gpt-4o-mini"
},
{
...
...
@@ -129,7 +129,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"value"
:
3
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
0
,
"max"
:
10
,
"step"
:
1
...
...
@@ -139,7 +139,7 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"value"
:
1950
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
,
"valueType"
:
"number"
,
"min"
:
100
,
"max"
:
4000
,
"step"
:
50
...
...
@@ -149,25 +149,25 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"value"
:
true
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
"valueType"
:
"boolean"
},
{
"key"
:
"quoteTemplate"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
{
"key"
:
"quotePrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
{
"key"
:
"systemPrompt"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.textarea"
,
"FlowNodeInputTypeEnum.reference"
],
"max"
:
3000
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"core.ai.Prompt"
,
"description"
:
"core.app.tip.systemPromptTip"
,
"placeholder"
:
"core.app.tip.chatNodeSystemPromptTip"
,
...
...
@@ -179,7 +179,7 @@
"FlowNodeInputTypeEnum.numberInput"
,
"FlowNodeInputTypeEnum.reference"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"label"
:
"core.module.input.label.chat history"
,
"required"
:
true
,
"min"
:
0
,
...
...
@@ -189,7 +189,7 @@
{
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"toolDescription"
:
"用户问题"
,
...
...
@@ -201,7 +201,7 @@
"label"
:
""
,
"debugLabel"
:
"知识库引用"
,
"description"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
datasetQuote"
,
"valueType"
:
"datasetQuote"
,
"value"
:
[
"iKBoX2vIzETU"
,
"quoteQA"
]
}
],
...
...
@@ -211,7 +211,7 @@
"key"
:
"history"
,
"label"
:
"core.module.output.label.New context"
,
"description"
:
"core.module.output.description.New context"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
chatHistory"
,
"valueType"
:
"chatHistory"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
},
{
...
...
@@ -219,7 +219,7 @@
"key"
:
"answerText"
,
"label"
:
"core.module.output.label.Ai response content"
,
"description"
:
"core.module.output.description.Ai response content"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
}
]
...
...
@@ -245,7 +245,7 @@
],
"label"
:
"core.module.input.label.Select dataset"
,
"value"
:
[],
"valueType"
:
"
WorkflowIOValueTypeEnum.
selectDataset"
,
"valueType"
:
"selectDataset"
,
"list"
:
[],
"required"
:
true
},
...
...
@@ -254,53 +254,53 @@
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.selectDatasetParamsModal"
],
"label"
:
""
,
"value"
:
0.4
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
"valueType"
:
"number"
},
{
"key"
:
"limit"
,
"renderTypeList"
:
[
"hidden"
],
"label"
:
""
,
"value"
:
1500
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
number"
"valueType"
:
"number"
},
{
"key"
:
"searchMode"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
"embedding"
},
{
"key"
:
"usingReRank"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"value"
:
false
},
{
"key"
:
"datasetSearchUsingExtensionQuery"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
boolean"
,
"valueType"
:
"boolean"
,
"value"
:
true
},
{
"key"
:
"datasetSearchExtensionModel"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
"valueType"
:
"string"
},
{
"key"
:
"datasetSearchExtensionBg"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.hidden"
],
"label"
:
""
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"value"
:
""
},
{
"key"
:
"userChatInput"
,
"renderTypeList"
:
[
"FlowNodeInputTypeEnum.reference"
,
"FlowNodeInputTypeEnum.textarea"
],
"valueType"
:
"
WorkflowIOValueTypeEnum.
string"
,
"valueType"
:
"string"
,
"label"
:
"用户问题"
,
"required"
:
true
,
"toolDescription"
:
"需要检索的内容"
,
...
...
@@ -313,7 +313,7 @@
"key"
:
"quoteQA"
,
"label"
:
"core.module.Dataset quote.label"
,
"type"
:
"FlowNodeOutputTypeEnum.static"
,
"valueType"
:
"
WorkflowIOValueTypeEnum.
datasetQuote"
,
"valueType"
:
"datasetQuote"
,
"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