From d5a90daa44cd0dc6ca31177276b573969fa2a7ca Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 16 Dec 2024 15:56:16 +0800 Subject: [PATCH] chore: retrieval test text --- web/app/components/datasets/hit-testing/index.tsx | 2 +- web/i18n/en-US/dataset-hit-testing.ts | 8 ++++---- web/i18n/zh-Hans/dataset-hit-testing.ts | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/web/app/components/datasets/hit-testing/index.tsx b/web/app/components/datasets/hit-testing/index.tsx index 969768f2c0..9596b4394f 100644 --- a/web/app/components/datasets/hit-testing/index.tsx +++ b/web/app/components/datasets/hit-testing/index.tsx @@ -123,7 +123,7 @@ const HitTesting: FC = ({ datasetId }: Props) => { retrievalConfig={retrievalConfig} isEconomy={currentDataset?.indexing_technique === 'economy'} /> -
{t('datasetHitTesting.recents')}
+
{t('datasetHitTesting.records')}
{(!recordsRes && !error) ? (
diff --git a/web/i18n/en-US/dataset-hit-testing.ts b/web/i18n/en-US/dataset-hit-testing.ts index 8b8629e90a..1e68306a9d 100644 --- a/web/i18n/en-US/dataset-hit-testing.ts +++ b/web/i18n/en-US/dataset-hit-testing.ts @@ -1,9 +1,9 @@ const translation = { - title: 'Retrieval Testing', + title: 'Retrieval Test', settingTitle: 'Retrieval Setting', - desc: 'Test the hitting effect of the Knowledge based on the given query text', + desc: 'Test the hitting effect of the Knowledge based on the given query text.', dateTimeFormat: 'MM/DD/YYYY hh:mm A', - recents: 'Recents', + records: 'Records', table: { header: { source: 'Source', @@ -16,7 +16,7 @@ const translation = { placeholder: 'Please enter a text, a short declarative sentence is recommended.', countWarning: 'Up to 200 characters.', indexWarning: 'High quality Knowledge only.', - testing: 'Testing', + testing: 'Test', }, hit: { title: '{{num}} Retrieved Chunks', diff --git a/web/i18n/zh-Hans/dataset-hit-testing.ts b/web/i18n/zh-Hans/dataset-hit-testing.ts index caf88acc76..88924edc82 100644 --- a/web/i18n/zh-Hans/dataset-hit-testing.ts +++ b/web/i18n/zh-Hans/dataset-hit-testing.ts @@ -1,9 +1,9 @@ const translation = { title: '召回测试', settingTitle: '召回设置', - desc: '基于给定的查询文本测试知识库的召回效果', + desc: '根据给定的查询文本测试知识的召回效果。', dateTimeFormat: 'YYYY-MM-DD HH:mm', - recents: '最近查询', + records: '记录', table: { header: { source: '数据源',