diff --git a/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx b/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx index 2d469231c2..dcaeff993f 100644 --- a/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx +++ b/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx @@ -59,33 +59,41 @@ const ModifyRetrievalModal: FC = ({ return (
-
-
+
+
{t('datasetSettings.form.retrievalSetting.title')}
- -
+
- +
-
+
+
+ {t('datasetSettings.form.retrievalSetting.method')} +
{indexMethod === 'high_quality' ? ( = ({ /> )}
-
+
diff --git a/web/i18n/en-US/dataset-settings.ts b/web/i18n/en-US/dataset-settings.ts index d25779ec83..dffb96144d 100644 --- a/web/i18n/en-US/dataset-settings.ts +++ b/web/i18n/en-US/dataset-settings.ts @@ -26,6 +26,7 @@ const translation = { embeddingModelTipLink: 'Settings', retrievalSetting: { title: 'Retrieval Setting', + method: 'Retrieval Method', learnMore: 'Learn more', description: ' about retrieval method.', longDescription: ' about retrieval method, you can change this at any time in the Knowledge settings.', diff --git a/web/i18n/zh-Hans/dataset-settings.ts b/web/i18n/zh-Hans/dataset-settings.ts index 0817127c19..4ed0645e0f 100644 --- a/web/i18n/zh-Hans/dataset-settings.ts +++ b/web/i18n/zh-Hans/dataset-settings.ts @@ -26,6 +26,7 @@ const translation = { embeddingModelTipLink: '设置', retrievalSetting: { title: '检索设置', + method: '检索方法', learnMore: '了解更多', description: '关于检索方法。', longDescription: '关于检索方法,您可以随时在知识库设置中更改此设置。',