UnisKB/ui/src/locales/lang/en-US/views/application-workflow.ts

484 lines
17 KiB
TypeScript
Raw Normal View History

2025-04-16 11:10:00 +00:00
export default {
node: 'Node',
nodeName: 'Node Name',
baseComponent: 'Basic',
nodeSetting: 'Node Settings',
workflow: 'Workflow',
searchBar: {
2025-08-27 11:06:18 +00:00
placeholder: 'Search by name',
2025-04-16 11:10:00 +00:00
},
info: {
previewVersion: 'Preview Version:',
2025-08-27 11:06:18 +00:00
saveTime: 'Last Saved:',
2025-04-16 11:10:00 +00:00
},
setting: {
restoreVersion: 'Restore Previous Version"',
restoreCurrentVersion: 'Restore to This Version',
addComponent: 'Add',
releaseHistory: 'Release History',
autoSave: 'Auto Save',
latestRelease: 'Latest Release',
copyParam: 'Copy Parameters',
debug: 'Run',
exit: 'Exit',
exitSave: 'Save & Exit',
},
tip: {
noData: 'No related results found',
nameMessage: 'Name cannot be empty!',
onlyRight: 'Connections can only be made from the right anchor',
notRecyclable: 'Loop connections are not allowed',
onlyLeft: 'Connections can only be made to the left anchor',
applicationNodeError: 'This application is unavailable',
2025-06-26 12:25:24 +00:00
toolNodeError: 'This tool node is unavailable',
2025-04-16 11:10:00 +00:00
repeatedNodeError: 'A node with this name already exists',
cannotCopy: 'Cannot be copied',
copyError: 'Node already copied',
paramErrorMessage: 'Parameter already exists: ',
saveMessage: 'Current changes have not been saved. Save before exiting?',
},
delete: {
confirmTitle: 'Confirm to delete this node?',
2025-08-27 11:06:18 +00:00
deleteMessage: 'This node cannot be deleted',
2025-04-16 11:10:00 +00:00
},
control: {
zoomOut: 'Zoom Out',
zoomIn: 'Zoom In',
fitView: 'Fit to Screen',
retract: 'Collapse All',
extend: 'Expand All',
2025-08-27 11:06:18 +00:00
beautify: 'Auto-Arrange',
2025-04-16 11:10:00 +00:00
},
variable: {
label: 'Variable',
global: 'Global Variable',
Referencing: 'Referenced Variable',
ReferencingRequired: 'Referenced variable is required',
ReferencingError: 'Invalid referenced variable',
NoReferencing: 'Referenced variable does not exist',
2025-08-27 11:06:18 +00:00
placeholder: 'Please select a variable',
2025-04-16 11:10:00 +00:00
},
condition: {
title: 'Execution Condition',
front: 'Precondition',
AND: 'All',
OR: 'Any',
2025-08-27 11:06:18 +00:00
text: 'After the connected node is executed, execute the current node',
2025-04-16 11:10:00 +00:00
},
validate: {
startNodeRequired: 'Start node is required',
startNodeOnly: 'Only one start node is allowed',
baseNodeRequired: 'Base information node is required',
baseNodeOnly: 'Only one base information node is allowed',
notInWorkFlowNode: 'Node not in workflow',
noNextNode: 'Next node does not exist',
nodeUnavailable: 'Node unavailable',
needConnect1: 'The branch of the node needs to be connected',
2025-08-27 11:06:18 +00:00
cannotEndNode: 'This node cannot be used as an end node',
loopNodeBreakNodeRequired: 'Wireless loop must have a Break node',
2025-04-16 11:10:00 +00:00
},
nodes: {
2025-06-30 10:06:18 +00:00
classify: {
aiCapability: 'AI capability',
businessLogic: 'Business logic',
2025-08-27 11:06:18 +00:00
other: 'Other',
dataProcessing: 'Data Processing',
2025-06-30 10:06:18 +00:00
},
2025-04-16 11:10:00 +00:00
startNode: {
label: 'Start',
question: 'User Question',
2025-08-27 11:06:18 +00:00
currentTime: 'Current Time',
2025-04-16 11:10:00 +00:00
},
baseNode: {
label: 'Base Information',
appName: {
2025-08-27 11:06:18 +00:00
label: 'App Name',
2025-04-16 11:10:00 +00:00
},
appDescription: {
2025-08-27 11:06:18 +00:00
label: 'App Description',
2025-04-16 11:10:00 +00:00
},
fileUpload: {
label: 'File Upload',
2025-08-27 11:06:18 +00:00
tooltip: 'When enabled, the Q&A page will display a file upload button.',
2025-04-16 11:10:00 +00:00
},
FileUploadSetting: {
title: 'File Upload Settings',
maxFiles: 'Maximum number of files per upload',
fileLimit: 'Maximum size per file (MB)',
fileUploadType: {
label: 'File types allowed for upload',
documentText: 'Requires "Document Content Extraction" node to parse document content',
imageText: 'Requires "Image Understanding" node to parse image content',
videoText: 'Requires "Video Understanding" node to parse video content',
2025-08-27 11:06:18 +00:00
audioText: 'Requires "Speech-to-Text" node to parse audio content',
},
},
2025-04-16 11:10:00 +00:00
},
aiChatNode: {
label: 'AI Chat',
text: 'Chat with an AI model',
answer: 'AI Content',
returnContent: {
label: 'Return Content',
tooltip: `If turned off, the content of this node will not be output to the user.
2025-08-27 11:06:18 +00:00
If you want the user to see the output of this node, please turn on the switch.`,
2025-04-16 11:10:00 +00:00
},
defaultPrompt: 'Known Information',
2025-08-27 11:06:18 +00:00
think: 'Thinking Process',
historyMessage: 'Historical chat records',
2025-04-16 11:10:00 +00:00
},
2025-06-13 09:17:01 +00:00
searchKnowledgeNode: {
2025-04-16 11:10:00 +00:00
label: 'Knowledge Retrieval',
text: 'Allows you to query text content related to user questions from the Knowledge',
paragraph_list: 'List of retrieved segments',
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
result: 'Search Result',
directly_return: 'Content of segments that meet direct response criteria',
searchParam: 'Retrieval Parameters',
searchQuestion: {
label: 'Question',
placeholder: 'Please select a search question',
2025-08-27 11:06:18 +00:00
requiredMessage: 'Please select a search question',
},
2025-04-16 11:10:00 +00:00
},
2025-10-17 04:51:42 +00:00
searchDocumentNode: {
label: 'Document Tag Retrieval',
2025-10-17 04:51:42 +00:00
text: 'Search for documents that meet the conditions based on the document label within the specified search scope',
selectKnowledge: 'Search Scope',
searchSetting: 'Search Settings',
custom: 'Manual',
customTooltip: 'Manually set tag filtering conditions',
2025-10-17 04:51:42 +00:00
auto: 'Automatic',
autoTooltip: 'Automatically filter setting tag conditions based on the search question',
2025-10-17 04:51:42 +00:00
document_list: 'Document List',
knowledge_list: 'Knowledge Base List',
result: 'Search Results',
searchParam: 'Search Parameters',
select_variable: 'Select Variable',
valueMessage: `Value or {name} `,
2025-10-17 04:51:42 +00:00
showKnowledge: {
label: 'Results are displayed in the knowledge source',
requiredMessage: 'Please set parameters',
},
searchQuestion: {
label: 'Search Question',
placeholder: 'Please select a search question',
requiredMessage: 'Please select a search question',
},
},
2025-04-16 11:10:00 +00:00
questionNode: {
label: 'Question Optimization',
text: 'Optimize and improve the current question based on historical chat records to better match knowledge segments',
result: 'Optimized Question Result',
2025-09-24 10:57:07 +00:00
systemDefault: `#Role
You are a master of problem optimization, adept at accurately inferring user intentions based on context and optimizing the questions raised by users.
##Skills
###Skill 1: Optimizing Problems
2. Receive user input questions.
3. Carefully analyze the meaning of the problem based on the context.
4. Output optimized problems.
##Limitations:
-Only return the optimized problem without any additional explanation or clarification.
-Ensure that the optimized problem accurately reflects the original problem intent and does not alter the original intention.`,
2025-04-16 11:10:00 +00:00
},
conditionNode: {
label: 'Conditional Branch',
text: 'Trigger different nodes based on conditions',
branch_name: 'Branch Name',
conditions: {
label: 'Conditions',
info: 'Meets the following',
2025-08-27 11:06:18 +00:00
requiredMessage: 'Please select conditions',
2025-04-16 11:10:00 +00:00
},
valueMessage: 'Please enter a value',
addCondition: 'Add Condition',
2025-08-27 11:06:18 +00:00
addBranch: 'Add Branch',
2025-04-16 11:10:00 +00:00
},
replyNode: {
label: 'Specified Reply',
text: 'Specify reply content, referenced variables will be converted to strings for output',
content: 'Content',
replyContent: {
label: 'Reply Content',
2025-08-27 11:06:18 +00:00
reference: 'Reference Variable',
},
2025-04-16 11:10:00 +00:00
},
rerankerNode: {
label: 'Multi-path Recall',
text: 'Use a re-ranking model to refine retrieval results from multiple knowledge sources',
result_list: 'Re-ranked Results List',
result: 'Re-ranking Result',
rerankerContent: {
label: 'Re-ranking Content',
2025-08-27 11:06:18 +00:00
requiredMessage: 'Please select re-ranking content',
2025-04-16 11:10:00 +00:00
},
higher: 'Higher',
ScoreTooltip: 'The higher the Score, the stronger the relevance.',
max_paragraph_char_number: 'Maximum Character',
reranker_model: {
label: 'Rerank',
2025-08-27 11:06:18 +00:00
placeholder: 'Please select a rerank',
},
2025-04-16 11:10:00 +00:00
},
formNode: {
label: 'Form Input',
text: 'Collect user input during Q&A and use it in subsequent processes',
form_content_format1: 'Hello, please fill out the form below:',
form_content_format2: 'Click the [Submit] button after filling it out.',
form_data: 'All Form Content',
formContent: {
label: 'Form Output Content',
requiredMessage:
'Please set the output content of this node, { form } is a placeholder for the form.',
2025-08-27 11:06:18 +00:00
tooltip: 'Define the output content of this node. { form } is a placeholder for the form',
2025-04-16 11:10:00 +00:00
},
formAllContent: 'All Form Content',
2025-08-27 11:06:18 +00:00
formSetting: 'Form Configuration',
2025-04-16 11:10:00 +00:00
},
documentExtractNode: {
label: 'Document Content Extraction',
text: 'Extract content from documents',
2025-08-27 11:06:18 +00:00
content: 'Document Content',
2025-04-16 11:10:00 +00:00
},
imageUnderstandNode: {
label: 'Image Understanding',
text: 'Analyze images to identify objects, scenes, and provide answers',
answer: 'AI Content',
model: {
label: 'Vision Model',
2025-08-27 11:06:18 +00:00
requiredMessage: 'Please select a vision model',
2025-04-16 11:10:00 +00:00
},
image: {
label: 'Select Image',
2025-08-27 11:06:18 +00:00
requiredMessage: 'Please select an image',
},
2025-04-16 11:10:00 +00:00
},
variableAssignNode: {
label: 'Variable Assign',
text: 'Update the value of the global variable',
2025-08-27 11:06:18 +00:00
assign: 'Set Value',
},
2025-10-17 09:29:12 +00:00
variableAggregationNode: {
label: 'Variable Aggregation',
text: 'Perform aggregation processing on the outputs of multiple branches',
2025-10-24 03:43:35 +00:00
Strategy: 'Aggregation Strategy',
placeholder: 'Return the first non-null value of each group',
placeholder1: 'Structurally aggregate each group of variables',
group: {
placeholder: 'Please select a variable',
noneError: 'Name cannot be empty',
dupError: 'Name cannot be duplicated',
},
add: 'Add Group',
2025-10-17 09:29:12 +00:00
},
2025-08-27 11:06:18 +00:00
mcpNode: {
label: 'MCP Node',
text: 'Call external MCP services to process data',
getToolsSuccess: 'Tools fetched successfully',
getTool: 'Fetch Tools',
toolParam: 'Tool Parameters',
mcpServerTip: 'Please enter MCP server configuration in JSON format',
mcpToolTip: 'Please select a tool',
configLabel: 'MCP Server Config (Only SSE/Streamable HTTP calls are supported)',
reference: 'Reference MCP',
2025-04-16 11:10:00 +00:00
},
imageGenerateNode: {
label: 'Image Generation',
text: 'Generate images based on provided text content',
answer: 'AI Content',
model: {
label: 'Image Generation Model',
2025-08-27 11:06:18 +00:00
requiredMessage: 'Please select an image generation model',
2025-04-16 11:10:00 +00:00
},
prompt: {
label: 'Positive Prompt',
2025-08-27 11:06:18 +00:00
tooltip: 'Describe elements and visual features you want in the generated image',
2025-04-16 11:10:00 +00:00
},
negative_prompt: {
label: 'Negative Prompt',
tooltip: 'Describe elements you want to exclude from the generated image',
placeholder:
2025-08-27 11:06:18 +00:00
'Please describe content you do not want to generate, such as color, bloody content',
},
2025-04-16 11:10:00 +00:00
},
textToVideoGenerate: {
label: 'Text-to-Video',
text: 'Generate video based on provided text content',
answer: 'AI Response Content',
model: {
label: 'Text-to-Video Model',
requiredMessage: 'Please select a text-to-video model',
},
prompt: {
label: 'Prompt (Positive)',
2025-09-17 10:22:08 +00:00
tooltip:
'Positive prompt, used to describe elements and visual features expected in the generated video',
},
negative_prompt: {
label: 'Prompt (Negative)',
2025-09-17 10:22:08 +00:00
tooltip:
"Negative prompt, used to describe content you don't want to see in the video, which can restrict the video generation",
placeholder:
"Please describe video content you don't want to generate, such as: colors, bloody content",
},
},
imageToVideoGenerate: {
label: 'Image-to-Video',
text: 'Generate video based on provided images',
answer: 'AI Response Content',
model: {
label: 'Image-to-Video Model',
requiredMessage: 'Please select an image-to-video model',
},
prompt: {
label: 'Prompt (Positive)',
2025-09-17 10:22:08 +00:00
tooltip:
'Positive prompt, used to describe elements and visual features expected in the generated video',
},
negative_prompt: {
label: 'Prompt (Negative)',
2025-09-17 10:22:08 +00:00
tooltip:
"Negative prompt, used to describe content you don't want to see in the video, which can restrict the video generation",
placeholder:
"Please describe video content you don't want to generate, such as: colors, bloody content",
},
first_frame: {
label: 'First Frame Image',
requiredMessage: 'Please select the first frame image',
},
last_frame: {
label: 'Last Frame Image',
requiredMessage: 'Please select the last frame image',
},
},
2025-04-16 11:10:00 +00:00
speechToTextNode: {
label: 'Speech2Text',
text: 'Convert audio to text through speech recognition model',
stt_model: {
2025-08-27 11:06:18 +00:00
label: 'Speech Recognition Model',
2025-04-16 11:10:00 +00:00
},
audio: {
label: 'Select Audio File',
2025-08-27 11:06:18 +00:00
placeholder: 'Please select an audio file',
},
2025-04-16 11:10:00 +00:00
},
textToSpeechNode: {
label: 'TTS',
text: 'Convert text to audio through speech synthesis model',
tts_model: {
2025-08-27 11:06:18 +00:00
label: 'Speech Synthesis Model',
2025-04-16 11:10:00 +00:00
},
content: {
2025-08-27 11:06:18 +00:00
label: 'Select Text Content',
},
2025-04-16 11:10:00 +00:00
},
2025-06-26 12:25:24 +00:00
toolNode: {
label: 'Custom Tool',
2025-08-27 11:06:18 +00:00
text: 'Execute custom scripts to achieve data processing',
2025-04-16 11:10:00 +00:00
},
2025-09-12 03:53:10 +00:00
intentNode: {
label: 'IntentNode',
2025-09-18 06:55:03 +00:00
text: 'Match user questions with user-defined intent classifications',
2025-09-12 03:53:10 +00:00
other: 'other',
error2: 'Repeated intent',
2025-09-12 03:53:10 +00:00
placeholder: 'Please choose a classification option',
classify: {
label: 'Intent classify',
placeholder: 'Please input',
},
input: {
label: 'Input',
},
},
2025-04-16 11:10:00 +00:00
applicationNode: {
2025-08-27 11:06:18 +00:00
label: 'APP Node',
},
2025-09-17 10:22:08 +00:00
loopNode: {
label: 'Loop Node',
text: 'Repeat a series of tasks by setting the number of loops and logic',
loopType: {
label: 'Loop Type',
requiredMessage: 'Please select a loop type',
arrayLoop: 'Array Loop',
numberLoop: 'Loop for Specified Times',
infiniteLoop: 'Infinite Loop',
},
2025-09-23 02:56:37 +00:00
loopNumber: {
label: 'Loop Number',
requiredMessage: 'Please enter the number of loops',
},
2025-09-17 10:22:08 +00:00
loopArray: {
label: 'Circular Array',
requiredMessage: 'Circular Array is required',
placeholder: 'Please select a circular array',
},
loopSetting: 'Loop Settings',
loopDetail: 'Loop Details',
},
loopStartNode: {
label: 'Loop Start',
loopIndex: 'Index',
loopItem: 'Loop Element',
loopVariable: 'Loop Variable',
},
loopBodyNode: {
label: 'Loop Body',
text: 'Loop Body',
},
loopContinueNode: {
label: 'Continue',
text: 'Used to terminate the current loop and proceed to the next one.',
2025-09-24 09:24:32 +00:00
isContinue: 'Continue',
2025-09-17 10:22:08 +00:00
},
loopBreakNode: {
2025-09-23 10:45:04 +00:00
label: 'Break',
2025-09-17 10:22:08 +00:00
text: 'Terminate the current loop and exit the loop body',
2025-09-24 09:24:32 +00:00
isBreak: 'Break',
2025-09-17 10:22:08 +00:00
},
variableSplittingNode: {
label: 'Variable Splitting',
text: 'Used to split variables',
result: 'Result',
splitVariables: 'Split Variables',
inputVariables: 'Input Variable',
addVariables: 'Add Variables',
editVariables: 'Edit Variables',
variablePlaceholder: 'Please enter variable',
variableListPlaceholder: 'Please add split variables',
expression: {
label: 'Expression',
placeholder: 'Please enter expression',
},
},
parameterExtractionNode: {
label: 'Parameter Extraction',
text: 'Use AI models to extract structured parameters',
extractParameters: {
label: 'Extract Parameters',
variableListPlaceholder: 'Please add extraction parameters',
parameterType: 'Parameter Type',
},
},
2025-04-16 11:10:00 +00:00
},
compare: {
is_null: 'Is null',
is_not_null: 'Is not null',
contain: 'Contains',
not_contain: 'Does not contain',
eq: 'Equal to',
ge: 'Greater than or equal to',
gt: 'Greater than',
le: 'Less than or equal to',
lt: 'Less than',
len_eq: 'Length equal to',
len_ge: 'Length greater than or equal to',
len_gt: 'Length greater than',
len_le: 'Length less than or equal to',
2025-08-27 11:06:18 +00:00
len_lt: 'Length less than',
2025-04-16 11:10:00 +00:00
},
2025-09-24 10:57:07 +00:00
SystemPromptPlaceholder: 'System Prompt, can reference variables in the system, such as',
UserPromptPlaceholder: 'User Prompt, can reference variables in the system, such as',
2025-04-16 11:10:00 +00:00
}