選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

app-annotation.ts 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. const translation = {
  2. title: 'Annotations',
  3. name: 'Annotation Reply',
  4. editBy: 'Answer edited by {{author}}',
  5. noData: {
  6. title: 'No annotations',
  7. description: 'You can edit annotations during app debugging or import annotations in bulk here for a high-quality response.',
  8. },
  9. table: {
  10. header: {
  11. question: 'question',
  12. answer: 'answer',
  13. createdAt: 'created at',
  14. hits: 'hits',
  15. actions: 'actions',
  16. addAnnotation: 'Add Annotation',
  17. bulkImport: 'Bulk Import',
  18. bulkExport: 'Bulk Export',
  19. clearAll: 'Delete All',
  20. clearAllConfirm: 'Delete all annotations?',
  21. },
  22. },
  23. editModal: {
  24. title: 'Edit Annotation Reply',
  25. queryName: 'User Query',
  26. answerName: 'Storyteller Bot',
  27. yourAnswer: 'Your Answer',
  28. answerPlaceholder: 'Type your answer here',
  29. yourQuery: 'Your Query',
  30. queryPlaceholder: 'Type your query here',
  31. removeThisCache: 'Remove this Annotation',
  32. createdAt: 'Created At',
  33. },
  34. addModal: {
  35. title: 'Add Annotation Reply',
  36. queryName: 'Question',
  37. answerName: 'Answer',
  38. answerPlaceholder: 'Type answer here',
  39. queryPlaceholder: 'Type query here',
  40. createNext: 'Add another annotated response',
  41. },
  42. batchModal: {
  43. title: 'Bulk Import',
  44. csvUploadTitle: 'Drag and drop your CSV file here, or ',
  45. browse: 'browse',
  46. tip: 'The CSV file must conform to the following structure:',
  47. question: 'question',
  48. answer: 'answer',
  49. contentTitle: 'chunk content',
  50. content: 'content',
  51. template: 'Download the template here',
  52. cancel: 'Cancel',
  53. run: 'Run Batch',
  54. runError: 'Run batch failed',
  55. processing: 'In batch processing',
  56. completed: 'Import completed',
  57. error: 'Import Error',
  58. ok: 'OK',
  59. },
  60. list: {
  61. delete: {
  62. title: 'Are you sure Delete?',
  63. },
  64. },
  65. batchAction: {
  66. selected: 'Selected',
  67. delete: 'Delete',
  68. cancel: 'Cancel',
  69. },
  70. errorMessage: {
  71. answerRequired: 'Answer is required',
  72. queryRequired: 'Question is required',
  73. },
  74. viewModal: {
  75. annotatedResponse: 'Annotation Reply',
  76. hitHistory: 'Hit History',
  77. hit: 'Hit',
  78. hits: 'Hits',
  79. noHitHistory: 'No hit history',
  80. },
  81. hitHistoryTable: {
  82. query: 'Query',
  83. match: 'Match',
  84. response: 'Response',
  85. source: 'Source',
  86. score: 'Score',
  87. time: 'Time',
  88. },
  89. initSetup: {
  90. title: 'Annotation Reply Initial Setup',
  91. configTitle: 'Annotation Reply Setup',
  92. confirmBtn: 'Save & Enable',
  93. configConfirmBtn: 'Save',
  94. },
  95. embeddingModelSwitchTip: 'Annotation text vectorization model, switching models will be re-embedded, resulting in additional costs.',
  96. }
  97. export default translation