File input (#2270)

* doc

* feat: file upload  config

* perf: chat box file params

* feat: markdown show file

* feat: chat file store and clear

* perf: read file contentType

* feat: llm vision config

* feat: file url output

* perf: plugin error text

* perf: image load

* feat: ai chat document

* perf: file block ui

* feat: read file node

* feat: file read response field

* feat: simple mode support read files

* feat: tool call

* feat: read file histories

* perf: select file

* perf: select file config

* i18n

* i18n

* fix: ts; feat: tool response preview result
This commit is contained in:
Archer
2024-08-06 10:00:22 +08:00
committed by GitHub
parent 10dcdb5491
commit e36d9d794f
121 changed files with 2600 additions and 1142 deletions

View File

@@ -12,6 +12,7 @@
"chat_debug": "Chat Debug",
"chat_logs": "Chat Logs",
"chat_logs_tips": "Logs will record online, shared and API (chatId required) conversation records for this app",
"config_file_upload": "Click to configure file upload rules",
"confirm_copy_app_tip": "The system will create an application with the same configuration for you, but the permission will not be copied, please confirm!",
"confirm_del_app_tip": "Confirm to delete this app and all its chat records?",
"confirm_delete_folder_tip": "Are you sure to delete this folder? All the following applications and corresponding chat records will be deleted, please confirm!",
@@ -25,14 +26,21 @@
},
"current_settings": "Current settings",
"day": "day",
"document_quote": "Document quote",
"document_quote_tip": "It is usually used to accept document content uploaded by users (which requires document parsing), and can also be used to reference other string data.",
"document_upload": "Document upload",
"edit_app": "Edit app",
"edit_info": "Edit info",
"execute_time": "execution time",
"export_config_successful": "Config copied, please check for important data",
"export_configs": "Export Configs",
"feedback_count": "User Feedback",
"file_upload": "file_upload",
"file_upload_tip": "After it is enabled, you can upload documents/pictures. Documents are kept for 7 days and pictures for 15 days. Use of this feature may incur additional charges. To ensure the user experience, select an AI model with a large context length when using this function.",
"go_to_chat": "To chat",
"go_to_run": "Run",
"image_upload": "Image upload",
"image_upload_tip": "Be sure to select a visual model that can handle the picture",
"import_configs": "Import Configs",
"import_configs_failed": "Failed to import configs, please ensure configs are valid!",
"interval": {
@@ -44,6 +52,9 @@
"per_hour": "per hour"
},
"intro": "It is a large model application orchestration system that provides out-of-the-box data processing, model calling and other capabilities. It can quickly build a knowledge base and perform workflow orchestration through Flow visualization to realize complex knowledge base scenarios!",
"llm_not_support_vision": "This model does not support image recognition",
"llm_use_vision": "Enable vision",
"llm_use_vision_tip": "When image recognition is enabled, the model automatically receives images from Dialog Uploads, as well as image links from User Questions.",
"logs_empty": "No logs yet~",
"logs_message_total": "Total Messages",
"logs_title": "Title",
@@ -92,6 +103,7 @@
"Simple bot": "Simple bot",
"Workflow bot": "Workflow"
},
"upload_file_max_amount": "Maximum number of files to be uploaded in a single round",
"version": {
"Revert success": "Revert success"
},
@@ -106,8 +118,15 @@
},
"workflow": {
"Input guide": "Input guide",
"file_url": "Url",
"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 the document link passed in the conversation and return the corresponding document content",
"template": {
"communication": "Communication"
}
},
"user_file_input": "Files url",
"user_file_input_desc": "Links to documents and images uploaded by users"
}
}

View File

@@ -15,20 +15,23 @@
"custom_input_guide_url": "Custom thesaurus address",
"empty_directory": "There is nothing left to choose from in this directory~",
"in_progress": "in progress",
"input_guide": "Enter boot",
"input_guide_lexicon": "vocabulary",
"input_guide_tip": "Some preset questions can be configured. \nWhen the user enters a question, relevant questions will be obtained from these preset questions for prompts.",
"insert_input_guide,_some_data_already_exists": "There is duplicate data, which has been automatically filtered. A total of {{len}} pieces of data have been inserted.",
"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 vocabulary",
"plugins_output": "Plugin output",
"question_tip": "From left to right, the response order of each module",
"rearrangement": "Search results rearranged",
"stream_output": "stream output",
"view_citations": "View citations",
"web_site_sync": "Web site synchronization"
"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"
}

View File

@@ -508,7 +508,7 @@
"module cq result": "Classification result",
"module extract description": "Extract requirement description",
"module extract result": "Extraction result",
"module historyPreview": "Complete record",
"module historyPreview": "Record preview (only part of the content is displayed)",
"module http result": "response body",
"module if else Result": "Determinator result",
"module limit": "Single search limit",
@@ -670,7 +670,7 @@
"Total files": "A total of {{total}} files",
"Training mode": "Training mode",
"Upload data": "Upload data",
"Upload file progress": "File upload progress",
"Upload file progress": "file_upload progress",
"Upload status": "Status",
"Web link": "Web link",
"Web link desc": "Read static web page content as a dataset"
@@ -1330,6 +1330,7 @@
"minute": "minute"
},
"unusable_variable": "no usable variable",
"upload_file_error": "Upload file error",
"user": {
"Account": "Account",
"Amount of earnings": "Earnings (¥)",

View File

@@ -1,4 +1,6 @@
{
"bucket_chat": "Chat file",
"bucket_file": "Dataset file",
"click_to_view_raw_source": "View source",
"file_name": "File Name",
"file_size": "File Size",

View File

@@ -27,7 +27,19 @@
"Code log": "Log",
"Custom inputs": "Custom inputs",
"Custom outputs": "Custom outputs",
"Error": "Error"
"Error": "Error",
"Read file result": "Document parsing result preview",
"read files": "parsed document"
},
"template": {
"ai_chat": "LLM chat",
"ai_chat_intro": "Call the AI model for a conversation",
"dataset_search": "Dataset search",
"dataset_search_intro": "Call the \"Semantic Search\" and \"Full-text Search\" capabilities to find reference content that may be related to the problem from the \"Knowledge Base\"",
"system_config": "System Configuration",
"tool_call": "Tool call",
"tool_call_intro": "One or more function blocks are automatically selected for calling through the AI model, and plug-ins can also be called.",
"workflow_start": "Process starts"
},
"tool_input": "Tool",
"update_link_error": "Update link exception",