app-debug.en.ts 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. citation: {
  55. title: 'Citations and Attributions',
  56. description: 'Once enabled, show source document and attributed section of the generated content.',
  57. resDes: 'Citations and Attributions is enabled',
  58. },
  59. dataSet: {
  60. title: 'Context',
  61. noData: 'You can import datasets as context',
  62. words: 'Words',
  63. textBlocks: 'Text Blocks',
  64. selectTitle: 'Select reference dataset',
  65. selected: 'Datasets selected',
  66. noDataSet: 'No dataset found',
  67. toCreate: 'Go to create',
  68. notSupportSelectMulti: 'Currently only support one dataset',
  69. },
  70. },
  71. automatic: {
  72. title: 'Automated application orchestration',
  73. description: 'Describe your scenario, Dify will orchestrate an application for you.',
  74. intendedAudience: 'Who is the intended audience?',
  75. intendedAudiencePlaceHolder: 'e.g. Student',
  76. solveProblem: 'What problems do they hope AI can solve for them?',
  77. solveProblemPlaceHolder: 'e.g. Assessing academic performance',
  78. generate: 'Generate',
  79. audiencesRequired: 'Audiences required',
  80. problemRequired: 'Problem required',
  81. resTitle: 'We have orchestrated the following application for you.',
  82. apply: 'Apply this orchestration',
  83. noData: 'Describe your use case on the left, the orchestration preview will show here.',
  84. loading: 'Orchestrating the application for you...',
  85. overwriteTitle: 'Override existing configuration?',
  86. overwriteMessage: 'Applying this orchestration will override existing configuration.',
  87. },
  88. resetConfig: {
  89. title: 'Confirm reset?',
  90. message:
  91. 'Reset discards changes, restoring the last published configuration.',
  92. },
  93. errorMessage: {
  94. nameOfKeyRequired: 'name of the key: {{key}} required',
  95. valueOfVarRequired: '{{key}} value can not be empty',
  96. queryRequired: 'Request text is required.',
  97. waitForResponse:
  98. 'Please wait for the response to the previous message to complete.',
  99. waitForBatchResponse:
  100. 'Please wait for the response to the batch task to complete.',
  101. notSelectModel: 'Please choose a model',
  102. },
  103. chatSubTitle: 'Pre Prompt',
  104. completionSubTitle: 'Prefix Prompt',
  105. promptTip:
  106. 'Prompts guide AI responses with instructions and constraints. Insert variables like {{input}}. This prompt won\'t be visible to users.',
  107. formattingChangedTitle: 'Formatting changed',
  108. formattingChangedText:
  109. 'Modifying the formatting will reset the debug area, are you sure?',
  110. variableTitle: 'Variables',
  111. variableTip:
  112. 'Users fill variables in a form, automatically replacing variables in the prompt.',
  113. notSetVar: 'Variables allow users to introduce prompt words or opening remarks when filling out forms. You can try entering "{{input}}" in the prompt words.',
  114. autoAddVar: 'Undefined variables referenced in pre-prompt, are you want to add them in user input form?',
  115. variableTable: {
  116. key: 'Variable Key',
  117. name: 'User Input Field Name',
  118. optional: 'Optional',
  119. type: 'Input Type',
  120. action: 'Actions',
  121. typeString: 'String',
  122. typeSelect: 'Select',
  123. },
  124. varKeyError: {
  125. canNoBeEmpty: 'Variable key can not be empty',
  126. tooLong: 'Variable key: {{key}} too length. Can not be longer then 16 characters',
  127. notValid: 'Variable key: {{key}} is invalid. Can only contain letters, numbers, and underscores',
  128. notStartWithNumber: 'Variable key: {{key}} can not start with a number',
  129. keyAlreadyExists: 'Variable key: :{{key}} already exists',
  130. },
  131. variableConig: {
  132. modalTitle: 'Field settings',
  133. description: 'Setting for variable {{varName}}',
  134. fieldType: 'Field type',
  135. string: 'Text',
  136. select: 'Select',
  137. notSet: 'Not set, try typing {{input}} in the prefix prompt',
  138. stringTitle: 'Form text box options',
  139. maxLength: 'Max length',
  140. options: 'Options',
  141. addOption: 'Add option',
  142. },
  143. openingStatement: {
  144. title: 'Opening remarks',
  145. add: 'Add',
  146. writeOpner: 'Write remarks',
  147. placeholder: 'Write your remarks message here',
  148. noDataPlaceHolder:
  149. 'Starting the conversation with the user can help AI establish a closer connection with them in conversational applications.',
  150. varTip: 'You can use variables, try type {{variable}}',
  151. tooShort: 'At least 20 words of initial prompt are required to generate an opening remarks for the conversation.',
  152. notIncludeKey: 'The initial prompt does not include the variable: {{key}}. Please add it to the initial prompt.',
  153. },
  154. modelConfig: {
  155. model: 'Model',
  156. setTone: 'Set tone of responses',
  157. title: 'Model and Parameters',
  158. },
  159. inputs: {
  160. title: 'Debugging and Previewing',
  161. noPrompt: 'Try write some prompt in pre-prompt input',
  162. userInputField: 'User Input Field',
  163. noVar: 'Fill in the value of the variable, which will be automatically replaced in the prompt word every time a new session is started.',
  164. chatVarTip:
  165. 'Fill in the value of the variable, which will be automatically replaced in the prompt word every time a new session is started',
  166. completionVarTip:
  167. 'Fill in the value of the variable, which will be automatically replaced in the prompt words every time a question is submitted.',
  168. previewTitle: 'Prompt preview',
  169. queryTitle: 'Query content',
  170. queryPlaceholder: 'Please enter the request text.',
  171. run: 'RUN',
  172. },
  173. result: 'Output Text',
  174. }
  175. export default translation