app-debug.en.ts 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. const translation = {
  2. pageTitle: 'Prompt Engineering',
  3. operation: {
  4. applyConfig: 'Publish',
  5. resetConfig: 'Reset',
  6. addFeature: 'Add Feature',
  7. automatic: 'Automatic',
  8. stopResponding: 'Stop responding',
  9. },
  10. notSetAPIKey: {
  11. title: 'LLM provider key has not been set',
  12. trailFinished: 'Trail finished',
  13. description: 'The LLM provider key has not been set, and it needs to be set before debugging.',
  14. settingBtn: 'Go to settings',
  15. },
  16. trailUseGPT4Info: {
  17. title: 'Does not support gpt-4 now',
  18. description: 'Use gpt-4, please set API Key.',
  19. },
  20. feature: {
  21. groupChat: {
  22. title: 'Chat enhance',
  23. description: 'Add pre-conversation settings for apps can enhance user experience.',
  24. },
  25. groupExperience: {
  26. title: 'Experience enhance',
  27. },
  28. conversationOpener: {
  29. title: 'Conversation remakers',
  30. description: 'In a chat app, the first sentence that the AI actively speaks to the user is usually used as a welcome.',
  31. },
  32. suggestedQuestionsAfterAnswer: {
  33. title: 'Follow-up',
  34. description: 'Setting up next questions suggestion can give users a better chat.',
  35. resDes: '3 suggestions for user next question.',
  36. tryToAsk: 'Try to ask',
  37. },
  38. moreLikeThis: {
  39. title: 'More like this',
  40. description: 'Generate multiple texts at once, and then edit and continue to generate',
  41. generateNumTip: 'Number of each generated times',
  42. tip: 'Using this feature will incur additional tokens overhead',
  43. },
  44. dataSet: {
  45. title: 'Context',
  46. noData: 'You can import datasets as context',
  47. words: 'Words',
  48. textBlocks: 'Text Blocks',
  49. selectTitle: 'Select reference dataset',
  50. selected: 'Datasets selected',
  51. noDataSet: 'No dataset found',
  52. toCreate: 'Go to create',
  53. notSupportSelectMulti: 'Currently only support one dataset',
  54. },
  55. },
  56. automatic: {
  57. title: 'Automated application orchestration',
  58. description: 'Describe your scenario, Dify will orchestrate an application for you.',
  59. intendedAudience: 'Who is the intended audience?',
  60. intendedAudiencePlaceHolder: 'e.g. Student',
  61. solveProblem: 'What problems do they hope AI can solve for them?',
  62. solveProblemPlaceHolder: 'e.g. Assessing academic performance',
  63. generate: 'Generate',
  64. audiencesRequired: 'Audiences required',
  65. problemRequired: 'Problem required',
  66. resTitle: 'We have orchestrated the following application for you.',
  67. apply: 'Apply this orchestration',
  68. noData: 'Describe your use case on the left, the orchestration preview will show here.',
  69. loading: 'Orchestrating the application for you...',
  70. overwriteTitle: 'Override existing configuration?',
  71. overwriteMessage: 'Applying this orchestration will override existing configuration.',
  72. },
  73. resetConfig: {
  74. title: 'Confirm reset?',
  75. message:
  76. 'Reset discards changes, restoring the last published configuration.',
  77. },
  78. errorMessage: {
  79. nameOfKeyRequired: 'name of the key: {{key}} required',
  80. valueOfVarRequired: 'Variables value can not be empty',
  81. queryRequired: 'Request text is required.',
  82. waitForResponse:
  83. 'Please wait for the response to the previous message to complete.',
  84. },
  85. chatSubTitle: 'Pre Prompt',
  86. completionSubTitle: 'Prefix Prompt',
  87. promptTip:
  88. 'Prompts guide AI responses with instructions and constraints. Insert variables like {{input}}. This prompt won\'t be visible to users.',
  89. formattingChangedTitle: 'Formatting changed',
  90. formattingChangedText:
  91. 'Modifying the formatting will reset the debug area, are you sure?',
  92. variableTitle: 'Variables',
  93. variableTip:
  94. 'Users fill variables in a form, automatically replacing variables in the prompt.',
  95. notSetVar: 'Variables allow users to introduce prompt words or opening remarks when filling out forms. You can try entering "{{input}}" in the prompt words.',
  96. autoAddVar: 'Undefined variables referenced in pre-prompt, are you want to add them in user input form?',
  97. variableTable: {
  98. key: 'Variable Key',
  99. name: 'User Input Field Name',
  100. optional: 'Optional',
  101. type: 'Input Type',
  102. action: 'Actions',
  103. typeString: 'String',
  104. typeSelect: 'Select',
  105. },
  106. varKeyError: {
  107. canNoBeEmpty: 'Variable key can not be empty',
  108. tooLong: 'Variable key: {{key}} too length. Can not be longer then 16 characters',
  109. notValid: 'Variable key: {{key}} is invalid. Can only contain letters, numbers, and underscores',
  110. notStartWithNumber: 'Variable key: {{key}} can not start with a number',
  111. },
  112. variableConig: {
  113. modalTitle: 'Field settings',
  114. description: 'Setting for variable {{varName}}',
  115. fieldType: 'Field type',
  116. string: 'Text',
  117. select: 'Select',
  118. notSet: 'Not set, try typing {{input}} in the prefix prompt',
  119. stringTitle: 'Form text box options',
  120. maxLength: 'Max length',
  121. options: 'Options',
  122. addOption: 'Add option',
  123. },
  124. openingStatement: {
  125. title: 'Opening remarks',
  126. add: 'Add',
  127. writeOpner: 'Write remarks',
  128. placeholder: 'Write your remarks message here',
  129. noDataPlaceHolder:
  130. 'Starting the conversation with the user can help AI establish a closer connection with them in conversational applications.',
  131. varTip: 'You can use variables, try type {{variable}}',
  132. tooShort: 'At least 20 words of initial prompt are required to generate an opening remarks for the conversation.',
  133. notIncludeKey: 'The initial prompt does not include the variable: {{key}}. Please add it to the initial prompt.',
  134. },
  135. modelConfig: {
  136. model: 'Model',
  137. setTone: 'Set tone of responses',
  138. title: 'Model and Parameters',
  139. },
  140. inputs: {
  141. title: 'Debugging and Previewing',
  142. noPrompt: 'Try write some prompt in pre-prompt input',
  143. userInputField: 'User Input Field',
  144. noVar: 'Fill in the value of the variable, which will be automatically replaced in the prompt word every time a new session is started.',
  145. chatVarTip:
  146. 'Fill in the value of the variable, which will be automatically replaced in the prompt word every time a new session is started',
  147. completionVarTip:
  148. 'Fill in the value of the variable, which will be automatically replaced in the prompt words every time a question is submitted.',
  149. previewTitle: 'Prompt preview',
  150. queryTitle: 'Query content',
  151. queryPlaceholder: 'Please enter the request text.',
  152. run: 'RUN',
  153. },
  154. result: 'Output Text',
  155. }
  156. export default translation