feat: support select field as tool output (#2798)

* feat: support select field as tool output

* defaultOutput
This commit is contained in:
papapatrick
2024-09-26 14:37:06 +08:00
committed by GitHub
parent 1cf76ee7df
commit cb6fe9d0da
13 changed files with 323 additions and 46 deletions

View File

@@ -62,6 +62,7 @@
"llm_not_support_vision": "This model does not support image recognition",
"llm_use_vision": "Enable Image Recognition",
"llm_use_vision_tip": "Once image recognition is enabled, this model will automatically receive images uploaded from the 'dialog box' and image links in 'user questions'.",
"logs_chat_user": "user",
"logs_empty": "No logs yet~",
"logs_message_total": "Total Messages",
"logs_title": "Title",

View File

@@ -239,6 +239,7 @@
"comon.Continue_Adding": "Continue Adding",
"compliance.chat": "The content is generated by third-party AI and cannot be guaranteed to be true and accurate. It is for reference only.",
"compliance.compliance.dataset": "Please ensure that your content strictly complies with relevant laws and regulations and avoid containing any illegal or infringing content. \nPlease be careful when uploading materials that may contain sensitive information.",
"compliance.dataset": "Please ensure that your content strictly complies with relevant laws and regulations and avoid containing any illegal or infringing content. \nPlease be careful when uploading materials that may contain sensitive information.",
"confirm_choice": "Confirm Choice",
"contribute_app_template": "Contribute Template",
"core.Chat": "Chat",
@@ -732,6 +733,7 @@
"core.module.template.empty_plugin": "Blank plugin",
"core.module.template.empty_workflow": "Blank workflow",
"core.module.template.http body placeholder": "Same syntax as Apifox",
"core.module.template.self_input": "Plug-in input",
"core.module.template.self_output": "Custom plug-in output",
"core.module.template.system_config": "System configuration",
"core.module.template.system_config_info": "Can configure application system parameters",

View File

@@ -3,6 +3,7 @@
"Code": "Code",
"Quote_prompt_setting": "Quote prompt",
"add_new_input": "Add New Input",
"add_new_output": "New output",
"append_application_reply_to_history_as_new_context": "Append the application's reply to the history as new context",
"application_call": "Application Call",
"assigned_reply": "Assigned Reply",
@@ -33,6 +34,7 @@
"dynamic_input_description": "Receive the output value of the previous node as a variable, which can be used by Laf request parameters.",
"dynamic_input_description_concat": "You can reference the output of other nodes as variables for text concatenation. Type / to invoke the variable list.",
"edit_input": "Edit Input",
"edit_output": "Edit output",
"end_with": "Ends With",
"error_info_returns_empty_on_success": "Error information of code execution, returns empty on success",
"execute_a_simple_script_code_usually_for_complex_data_processing": "Execute a simple script code, usually for complex data processing.",
@@ -66,6 +68,7 @@
"intro_http_request": "Can send an HTTP request to perform more complex operations (network search, database query, etc.)",
"intro_knowledge_base_search_merge": "Can merge multiple Dataset search results for output. Uses RRF merging method for final sorting output.",
"intro_laf_function_call": "Can call cloud functions under the Laf account.",
"intro_loop": "You can input an array, the elements in the array will execute the loop body independently, and output all results as an array.",
"intro_plugin_input": "Can configure what inputs the plugin needs and use these inputs to run the plugin.",
"intro_question_classification": "Determine the type of question based on the user's history and current question. Multiple question types can be added. Below is a template example:\nType 1: Greeting\nType 2: Questions about product 'usage'\nType 3: Questions about product 'purchase'\nType 4: Other questions",
"intro_question_optimization": "Using question optimization can improve the accuracy of Dataset searches during continuous conversations. After using this function, AI will first construct one or more new search terms based on the context, which are more conducive to Dataset searches. This module is already built into the Dataset search module. If you only perform a single Dataset search, you can directly use the built-in completion function of the Dataset.",
@@ -76,6 +79,7 @@
"is_equal_to": "Is Equal To",
"is_not_empty": "Is Not Empty",
"is_not_equal": "Is Not Equal",
"is_tool_output": "Whether to use this field as tool output when the tool is called",
"judgment_result": "Judgment Result",
"knowledge_base_reference": "Dataset Reference",
"knowledge_base_search_merge": "Dataset Search Merge",
@@ -89,6 +93,11 @@
"less_than": "Less Than",
"less_than_or_equal_to": "Less Than or Equal To",
"loop": "Batch execution",
"loop_body": "loop body",
"loop_end": "end of loop",
"loop_input_array": "array",
"loop_result": "Array execution results",
"loop_start": "The loop body begins",
"loop_start_tip": "Not input array",
"max_dialog_rounds": "Maximum Number of Dialog Rounds",
"max_tokens": "Maximum Tokens",