feat: enchance prompt and code (#23633)
Co-authored-by: stream <stream@dify.ai> Co-authored-by: Stream <1542763342@qq.com> Co-authored-by: Stream <Stream_2@qq.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -248,11 +248,18 @@ const translation = {
|
||||
description: 'The Prompt Generator uses the configured model to optimize prompts for higher quality and better structure. Please write clear and detailed instructions.',
|
||||
tryIt: 'Try it',
|
||||
instruction: 'Instructions',
|
||||
instructionPlaceHolder: 'Write clear and specific instructions.',
|
||||
instructionPlaceHolderTitle: 'Describe how you would like to improve this Prompt. For example:',
|
||||
instructionPlaceHolderLine1: 'Make the output more concise, retaining the core points.',
|
||||
instructionPlaceHolderLine2: 'The output format is incorrect, please strictly follow the JSON format.',
|
||||
instructionPlaceHolderLine3: 'The tone is too harsh, please make it more friendly.',
|
||||
codeGenInstructionPlaceHolderLine: 'The more detailed the feedback, such as the data types of input and output as well as how variables are processed, the more accurate the code generation will be.',
|
||||
idealOutput: 'Ideal Output',
|
||||
idealOutputPlaceholder: 'Describe your ideal response format, length, tone, and content requirements...',
|
||||
optional: 'Optional',
|
||||
dismiss: 'Dismiss',
|
||||
generate: 'Generate',
|
||||
resTitle: 'Generated Prompt',
|
||||
noDataLine1: 'Describe your use case on the left,',
|
||||
noDataLine2: 'the orchestration preview will show here.',
|
||||
newNoDataLine1: 'Write a instruction in the left column, and click Generate to see response. ',
|
||||
apply: 'Apply',
|
||||
loading: 'Orchestrating the application for you...',
|
||||
overwriteTitle: 'Override existing configuration?',
|
||||
@@ -295,6 +302,14 @@ const translation = {
|
||||
instruction: 'Use advanced copyediting techniques to improve your writings',
|
||||
},
|
||||
},
|
||||
press: 'Press',
|
||||
to: 'to ',
|
||||
insertContext: 'insert context',
|
||||
optimizePromptTooltip: 'Optimize in Prompt Generator',
|
||||
optimizationNote: 'Optimization Note',
|
||||
versions: 'Versions',
|
||||
version: 'Version',
|
||||
latest: 'Latest',
|
||||
},
|
||||
resetConfig: {
|
||||
title: 'Confirm reset?',
|
||||
|
Reference in New Issue
Block a user