app-debug.en.ts 6.7 KB

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