User select node (#2397)

* feat: add user select node (#2300)

* feat: add user select node

* fix

* type

* fix

* fix

* fix

* perf: user select code

* perf: user select histories

* perf: i18n

---------

Co-authored-by: heheer <heheer@sealos.io>
This commit is contained in:
Archer
2024-08-15 12:27:04 +08:00
committed by GitHub
parent f8b8fcc172
commit fdeb1590d7
51 changed files with 1060 additions and 184 deletions

View File

@@ -141,14 +141,20 @@
"workflow": {
"Input guide": "Input guide",
"file_url": "Url",
"option1": "Option 1",
"option2": "Option 2",
"read_files": "Documents parse",
"read_files_result": "Document parsing results",
"read_files_result_desc": "The original text of the document consists of the file name and the document content. Multiple files are separated by horizontal lines.",
"read_files_tip": "Parse all uploaded documents in the conversation and return the corresponding document content",
"select_description": "Select description",
"select_result": "Select result",
"template": {
"communication": "Communication"
},
"user_file_input": "Files url",
"user_file_input_desc": "Links to documents and images uploaded by users"
"user_file_input_desc": "Links to documents and images uploaded by users",
"user_select": "User select",
"user_select_tip": "The module can have multiple options that lead to different workflow branches"
}
}

View File

@@ -1,6 +1,5 @@
{
"Delete_all": "Delete all",
"delete_all_input_guide_confirm": "Confirm to delete all input guide lexicons",
"chat_history": "chat record",
"chat_input_guide_lexicon_is_empty": "No vocabulary has been configured yet",
"citations": "{{num}} citations",
@@ -13,25 +12,27 @@
"contextual_preview": "Contextual preview",
"csv_input_lexicon_tip": "Only supports CSV batch import, click to download the template",
"custom_input_guide_url": "Custom thesaurus address",
"delete_all_input_guide_confirm": "Confirm to delete all input guide lexicons",
"empty_directory": "There is nothing left to choose from in this directory~",
"file_amount_over": "Exceed maximum number of files {{max}}",
"in_progress": "in progress",
"input_guide": "Input guide",
"input_guide_lexicon": "Lexicon",
"input_guide_tip": "You can configure some preset questions. When the user enters a question, the relevant question is retrieved from these preset questions for prompt.",
"insert_input_guide,_some_data_already_exists": "Duplicate data, automatically filtered, insert: {{len}} data",
"is_chatting": "Chatting...please wait for the end",
"items": "strip",
"module_runtime_and": "module run time and",
"multiple_AI_conversations": "Multiple AI conversations",
"new_chat": "new conversation",
"new_input_guide_lexicon": "New lexicon",
"no_workflow_response": "No running data",
"plugins_output": "Plugin output",
"question_tip": "From left to right, the response order of each module",
"rearrangement": "Search results rearranged",
"select_file": "Select file",
"select_img": "Select images",
"stream_output": "stream output",
"view_citations": "View citations",
"web_site_sync": "Web site synchronization",
"file_amount_over": "Exceed maximum number of files {{max}}",
"input_guide": "Input guide",
"input_guide_lexicon": "Lexicon",
"input_guide_tip": "You can configure some preset questions. When the user enters a question, the relevant question is retrieved from these preset questions for prompt.",
"insert_input_guide,_some_data_already_exists": "Duplicate data, automatically filtered, insert: {{len}} data",
"new_input_guide_lexicon": "New lexicon",
"select_file": "Select file",
"select_img": "Select images"
"web_site_sync": "Web site synchronization"
}

View File

@@ -527,7 +527,8 @@
"module tokens": "total tokens",
"plugin output": "Plugin output value",
"search using reRank": "Result rearrangement",
"text output": "text output"
"text output": "text output",
"user_select_result": "User select result"
},
"retry": "Regenerate",
"tts": {
@@ -761,6 +762,7 @@
},
"module": {
"Add question type": "Add question type",
"Add_option": "Add option",
"Can not connect self": "Cannot connect to self",
"Confirm Delete Node": "Confirm delete node?",
"Data Type": "Data type",
@@ -771,6 +773,7 @@
"Default Value": "Default value",
"Default value": "Default value",
"Default value placeholder": "If not filled, the default return is an empty string",
"Diagram": "Diagram",
"Edit intro": "Edit description",
"Field Description": "Field description",
"Field Name": "Field name",
@@ -948,7 +951,9 @@
"OnRevert version confirm": "Confirm to revert to this version? It will save the configuration of the version being edited and create a new published version for the reverted version.",
"histories": "Publishing records"
},
"run_test": "Test",
"template": {
"Interactive": "Interactive",
"Multimodal": "Multimodal",
"Search": "Search"
},
@@ -1060,6 +1065,7 @@
"no_data": "No data",
"no_laf_env": "The system is not configured with Laf environment",
"not_yet_introduced": "No introduction yet",
"option": "Option",
"pay": {
"amount": "Amount",
"balance": "Account balance",

View File

@@ -29,6 +29,8 @@
"Custom outputs": "Custom outputs",
"Error": "Error",
"Read file result": "Document parsing result preview",
"User_select_description": "User select description",
"User_select_result": "User select result",
"read files": "parsed document"
},
"template": {