feat: get node variables in prompt editor (#2087)
* feat: get node variables in prompt editor * fix * fix build * merge * fix build * delete default parent * fix * fix
This commit is contained in:
@@ -901,6 +901,7 @@
|
||||
"overSize": "Team members exceed the limit"
|
||||
}
|
||||
},
|
||||
"invalid_variable": "Invalid variable",
|
||||
"navbar": {
|
||||
"Account": "Account",
|
||||
"Chat": "Chat",
|
||||
@@ -1146,6 +1147,7 @@
|
||||
"Quote Content Tip": "You can customize the structure of the quote content to better adapt to different scenarios. You can use some variables for template configuration:\n{{q}} - search content, {{a}} - expected content, {{source}} - source, {{sourceId}} - source file name, {{index}} - the nth quote, they are all optional, here are the default values:\n{{default}}",
|
||||
"Quote Prompt Tip": "You can use {{quote}} to insert the quote content template, and use {{question}} to insert the question. Here are the default values:\n{{default}}"
|
||||
},
|
||||
"unusable_variable": "no usable variable",
|
||||
"user": {
|
||||
"Account": "Account",
|
||||
"Amount of earnings": "Earnings (¥)",
|
||||
@@ -1232,4 +1234,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,31 +1,32 @@
|
||||
{
|
||||
"add_new_input": "Add input",
|
||||
"Code": "Code",
|
||||
"confirm_delete_field_tip": "Confirm to delete the field?",
|
||||
"custom_input": "Custom input",
|
||||
"edit_input": "Edit input",
|
||||
"field_name_already_exists": "Field name already exists",
|
||||
"field_description": "Field description",
|
||||
"field_description_placeholder": "Describes the functionality of this input field, which affects the quality of model generation if the parameter is called for a tool",
|
||||
"field_required": "Required",
|
||||
"field_used_as_tool_input": "As tool input",
|
||||
"input_description": "Input descriotion",
|
||||
"only_the_reference_type_is_supported": "Only the Reference type is supported",
|
||||
"optional_value_type": "Optional value type",
|
||||
"optional_value_type_tip": "One or more data types can be specified, and users can only select the configured type when adding fields in winter",
|
||||
"tool_input": "Tool",
|
||||
"add_new_input": "Add input",
|
||||
"code": {
|
||||
"Reset template": "Reset template",
|
||||
"Reset template confirm": "Are you sure to restore the code template? All input and output to template values will be reset, please be careful to save the current code."
|
||||
},
|
||||
"confirm_delete_field_tip": "Confirm to delete the field?",
|
||||
"custom_input": "Custom input",
|
||||
"edit_input": "Edit input",
|
||||
"field_description": "Field description",
|
||||
"field_description_placeholder": "Describes the functionality of this input field, which affects the quality of model generation if the parameter is called for a tool",
|
||||
"field_name_already_exists": "Field name already exists",
|
||||
"field_required": "Required",
|
||||
"field_used_as_tool_input": "As tool input",
|
||||
"ifelse": {
|
||||
"Input value": "Input",
|
||||
"Select value": "Select"
|
||||
},
|
||||
"input_description": "Input descriotion",
|
||||
"only_the_reference_type_is_supported": "Only the Reference type is supported",
|
||||
"optional_value_type": "Optional value type",
|
||||
"optional_value_type_tip": "One or more data types can be specified, and users can only select the configured type when adding fields in winter",
|
||||
"response": {
|
||||
"Code log": "Log",
|
||||
"Custom inputs": "Custom inputs",
|
||||
"Custom outputs": "Custom outputs",
|
||||
"Error": "Error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tool_input": "Tool",
|
||||
"variable_picker_tips": "tips: enter node name or variable name to search"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user