app-debug.en.ts 6.6 KB

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