app-debug.en.ts 5.4 KB

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