app-annotation.ts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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: 'Clear All Annotation',
  20. },
  21. },
  22. editModal: {
  23. title: 'Edit Annotation Reply',
  24. queryName: 'User Query',
  25. answerName: 'Storyteller Bot',
  26. yourAnswer: 'Your Answer',
  27. answerPlaceholder: 'Type your answer here',
  28. yourQuery: 'Your Query',
  29. queryPlaceholder: 'Type your query here',
  30. removeThisCache: 'Remove this Annotation',
  31. createdAt: 'Created At',
  32. },
  33. addModal: {
  34. title: 'Add Annotation Reply',
  35. queryName: 'Question',
  36. answerName: 'Answer',
  37. answerPlaceholder: 'Type answer here',
  38. queryPlaceholder: 'Type query here',
  39. createNext: 'Add another annotated response',
  40. },
  41. batchModal: {
  42. title: 'Bulk Import',
  43. csvUploadTitle: 'Drag and drop your CSV file here, or ',
  44. browse: 'browse',
  45. tip: 'The CSV file must conform to the following structure:',
  46. question: 'question',
  47. answer: 'answer',
  48. contentTitle: 'chunk content',
  49. content: 'content',
  50. template: 'Download the template here',
  51. cancel: 'Cancel',
  52. run: 'Run Batch',
  53. runError: 'Run batch failed',
  54. processing: 'In batch processing',
  55. completed: 'Import completed',
  56. error: 'Import Error',
  57. ok: 'OK',
  58. },
  59. errorMessage: {
  60. answerRequired: 'Answer is required',
  61. queryRequired: 'Question is required',
  62. },
  63. viewModal: {
  64. annotatedResponse: 'Annotation Reply',
  65. hitHistory: 'Hit History',
  66. hit: 'Hit',
  67. hits: 'Hits',
  68. noHitHistory: 'No hit history',
  69. },
  70. hitHistoryTable: {
  71. query: 'Query',
  72. match: 'Match',
  73. response: 'Response',
  74. source: 'Source',
  75. score: 'Score',
  76. time: 'Time',
  77. },
  78. initSetup: {
  79. title: 'Annotation Reply Initial Setup',
  80. configTitle: 'Annotation Reply Setup',
  81. confirmBtn: 'Save & Enable',
  82. configConfirmBtn: 'Save',
  83. },
  84. embeddingModelSwitchTip: 'Annotation text vectorization model, switching models will be re-embedded, resulting in additional costs.',
  85. }
  86. export default translation