File tree Expand file tree Collapse file tree
workflow/nodes/intent-classify-node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default {
9090 prompt_template : {
9191 label : 'Prompt Template' ,
9292 requiredMessage : 'Please enter Prompt template' ,
93- tooltip : 'Please pay attention to the placeholders in the template' ,
93+ tooltip : 'Please pay attention to the placeholders in the template: {classification_list}、{user_input}、{output_json} ' ,
9494 } ,
9595 historyRecord : {
9696 label : 'Chat History' ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export default {
8383 prompt_template : {
8484 label : '提示词模板' ,
8585 requiredMessage : '请输入提示词模板' ,
86- tooltip : '请注意模板中的占位符' ,
86+ tooltip : '请注意模板中的占位符: {classification_list}、{user_input}、{output_json} ' ,
8787 } ,
8888 historyRecord : {
8989 label : '历史聊天记录' ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export default {
8383 prompt_template : {
8484 label : '提示詞模板' ,
8585 requiredMessage : '請輸入提示詞模板' ,
86- tooltip : '請注意模板中的佔位符' ,
86+ tooltip : '請注意模板中的佔位符: {classification_list}、{user_input}、{output_json} ' ,
8787 } ,
8888 historyRecord : {
8989 label : '歷史對話紀錄' ,
Original file line number Diff line number Diff line change 6969 >
7070 </div >
7171 <el-tooltip effect =" dark" placement =" right" popper-class =" max-w-200" >
72- <template #content >{{ $t('views.application.form.prompt_template.tooltip') }} </template >
72+ <template #content >{{ $t('views.application.form.prompt_template.tooltip', {
73+ classification_list: '{classification_list}',
74+ user_input: '{user_input}',
75+ output_json: '{output_json}',
76+ }) }}</template >
7377 <AppIcon iconName =" app-warning" class =" app-warning-icon" ></AppIcon >
7478 </el-tooltip >
7579 </div >
You can’t perform that action at this time.
0 commit comments