diff --git a/web/app/components/datasets/common/economical-retrieval-method-config/index.tsx b/web/app/components/datasets/common/economical-retrieval-method-config/index.tsx index 59a493497e..88f094362e 100644 --- a/web/app/components/datasets/common/economical-retrieval-method-config/index.tsx +++ b/web/app/components/datasets/common/economical-retrieval-method-config/index.tsx @@ -28,8 +28,8 @@ const EconomicalRetrievalMethodConfig: FC = ({ disabled={disabled} icon={} iconActiveColor='text-util-colors-purple-purple-600' - title={t('dataset.retrieval.invertedIndex.title')} - description={t('dataset.retrieval.invertedIndex.description')} + title={t('dataset.retrieval.keyword_search.title')} + description={t('dataset.retrieval.keyword_search.description')} isActive effectColor={EffectColor.purple} showEffectColor diff --git a/web/app/components/datasets/create/embedding-process/index.tsx b/web/app/components/datasets/create/embedding-process/index.tsx index 5e1a73618a..406a2a803d 100644 --- a/web/app/components/datasets/create/embedding-process/index.tsx +++ b/web/app/components/datasets/create/embedding-process/index.tsx @@ -102,7 +102,6 @@ const RuleDetail: FC<{ break } return value - // eslint-disable-next-line react-hooks/exhaustive-deps }, [sourceData]) return
@@ -131,7 +130,7 @@ const RuleDetail: FC<{ = ({ datasetId, batchId, documents = [], index return () => { stopQueryStatus() } - // eslint-disable-next-line react-hooks/exhaustive-deps }, []) // get rule diff --git a/web/app/components/datasets/documents/create-from-pipeline/processing/embedding-process/rule-detail.tsx b/web/app/components/datasets/documents/create-from-pipeline/processing/embedding-process/rule-detail.tsx index c14ea0abb5..cb036def62 100644 --- a/web/app/components/datasets/documents/create-from-pipeline/processing/embedding-process/rule-detail.tsx +++ b/web/app/components/datasets/documents/create-from-pipeline/processing/embedding-process/rule-detail.tsx @@ -105,7 +105,7 @@ const RuleDetail = ({ /> = React.memo(({ /> { return { id: RetrievalSearchMethodEnum.keywordSearch, icon: HybridSearch as any, - title: t('dataset.retrieval.invertedIndex.title'), - description: t('dataset.retrieval.invertedIndex.description'), + title: t('dataset.retrieval.keyword_search.title'), + description: t('dataset.retrieval.keyword_search.description'), effectColor: 'purple', } }, [t]) diff --git a/web/i18n/en-US/dataset.ts b/web/i18n/en-US/dataset.ts index 16b26b53a8..1e26448aa6 100644 --- a/web/i18n/en-US/dataset.ts +++ b/web/i18n/en-US/dataset.ts @@ -126,7 +126,7 @@ const translation = { description: 'Execute full-text search and vector searches simultaneously, re-rank to select the best match for the user\'s query. Users can choose to set weights or configure to a Rerank model.', recommend: 'Recommend', }, - invertedIndex: { + keyword_search: { title: 'Inverted Index', description: 'Inverted Index is a structure used for efficient retrieval. Organized by terms, each term points to documents or web pages containing it.', }, diff --git a/web/i18n/zh-Hans/dataset.ts b/web/i18n/zh-Hans/dataset.ts index 4292b9cd9d..9dce91bfbd 100644 --- a/web/i18n/zh-Hans/dataset.ts +++ b/web/i18n/zh-Hans/dataset.ts @@ -126,7 +126,7 @@ const translation = { description: '同时执行全文检索和向量检索,并应用重排序步骤,从两类查询结果中选择匹配用户问题的最佳结果,用户可以选择设置权重或配置重新排序模型。', recommend: '推荐', }, - invertedIndex: { + keyword_search: { title: '倒排索引', description: '倒排索引是一种用于高效检索的结构。按术语组织,每个术语指向包含它的文档或网页', },