diff --git a/web/app/components/datasets/common/retrieval-param-config/index.tsx b/web/app/components/datasets/common/retrieval-param-config/index.tsx index 7c528044e1..dc29a3b524 100644 --- a/web/app/components/datasets/common/retrieval-param-config/index.tsx +++ b/web/app/components/datasets/common/retrieval-param-config/index.tsx @@ -140,7 +140,7 @@ const RetrievalParamConfig: FC = ({ )}
- {t('common.modelProvider.rerankModel.key')} + {t('common.modelProvider.rerankModel.key')} {t('common.modelProvider.rerankModel.tip')}
diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx index a9e88afc88..7f3b7520b5 100644 --- a/web/app/components/datasets/create/step-two/index.tsx +++ b/web/app/components/datasets/create/step-two/index.tsx @@ -880,13 +880,13 @@ const StepTwo = ({ disabled={!isAPIKeySet || hasSetIndexType || docForm !== ChuckingMode.text} ref={economyDomRef} onSwitched={() => { - if (isAPIKeySet) + if (isAPIKeySet && docForm === ChuckingMode.text) setIndexType(IndexingType.ECONOMICAL) }} /> -
+
{ docForm === ChuckingMode.qa ? t('datasetCreation.stepTwo.notAvailableForQA') diff --git a/web/app/components/datasets/create/step-two/option-card.tsx b/web/app/components/datasets/create/step-two/option-card.tsx index 12f4ecd0ca..bb339b4a41 100644 --- a/web/app/components/datasets/create/step-two/option-card.tsx +++ b/web/app/components/datasets/create/step-two/option-card.tsx @@ -58,8 +58,11 @@ export const OptionCard: FC = forwardRef((props, ref) => { const { icon, className, title, description, isActive, children, actions, activeHeaderClassName, style, effectImg, onSwitched, onClick, noHighlight, disabled, ...rest } = props return