diff --git a/web/app/components/datasets/create/embedding-process/index.tsx b/web/app/components/datasets/create/embedding-process/index.tsx index ead593d272..dcb42ed91b 100644 --- a/web/app/components/datasets/create/embedding-process/index.tsx +++ b/web/app/components/datasets/create/embedding-process/index.tsx @@ -253,9 +253,9 @@ const EmbeddingProcess: FC = ({ datasetId, batchId, documents = [], index return ( <>
-
+
{isEmbedding &&
- + {t('datasetDocuments.embedding.processing')}
} {isEmbeddingCompleted && t('datasetDocuments.embedding.completed')} @@ -304,7 +304,7 @@ const EmbeddingProcess: FC = ({ datasetId, batchId, documents = [], index /> )}
-
+
{getSourceName(indexingStatusDetail.id)}
{ diff --git a/web/app/components/datasets/create/step-three/index.tsx b/web/app/components/datasets/create/step-three/index.tsx index 8d979616d1..2cca86b398 100644 --- a/web/app/components/datasets/create/step-three/index.tsx +++ b/web/app/components/datasets/create/step-three/index.tsx @@ -34,8 +34,8 @@ const StepThree = ({ datasetId, datasetName, indexingType, creationCache, retrie
-
{t('datasetCreation.stepThree.label')}
-
{datasetName || creationCache?.dataset?.name}
+
{t('datasetCreation.stepThree.label')}
+
{datasetName || creationCache?.dataset?.name}
diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx index ec9b3a5b42..99c3fd161e 100644 --- a/web/app/components/datasets/create/step-two/index.tsx +++ b/web/app/components/datasets/create/step-two/index.tsx @@ -581,7 +581,7 @@ const StepTwo = ({ return (
-
{t('datasetCreation.stepTwo.segmentation')}
+
{t('datasetCreation.stepTwo.segmentation')}
{((isInUpload && [ChunkingMode.text, ChunkingMode.qa].includes(currentDataset!.doc_form)) || isUploadInEmptyDataset || isInInit) @@ -832,10 +832,10 @@ const StepTwo = ({
} -
{t('datasetCreation.stepTwo.indexMode')}
+
{t('datasetCreation.stepTwo.indexMode')}
{(!hasSetIndexType || (hasSetIndexType && indexingType === IndexingType.QUALIFIED)) && ( - {t('datasetCreation.stepTwo.qualified')} @@ -889,7 +889,7 @@ const StepTwo = ({ placement={'top'} > - } @@ -916,11 +916,11 @@ const StepTwo = ({
{!hasSetIndexType && indexType === IndexingType.QUALIFIED && (
-
+
- {t('datasetCreation.stepTwo.highQualityTip')} + {t('datasetCreation.stepTwo.highQualityTip')}
)} {hasSetIndexType && indexType === IndexingType.ECONOMICAL && ( @@ -932,7 +932,7 @@ const StepTwo = ({ {/* Embedding model */} {indexType === IndexingType.QUALIFIED && (
-
{t('datasetSettings.form.embeddingModel')}
+
{t('datasetSettings.form.embeddingModel')}
-
{t('datasetSettings.form.retrievalSetting.title')}
+
{t('datasetSettings.form.retrievalSetting.title')}
{t('datasetSettings.form.retrievalSetting.learnMore')} {t('datasetSettings.form.retrievalSetting.longDescription')} 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 57ed50d518..7a0f67850a 100644 --- a/web/app/components/datasets/create/step-two/option-card.tsx +++ b/web/app/components/datasets/create/step-two/option-card.tsx @@ -34,7 +34,7 @@ export const OptionCardHeader: FC = (props) => {
{title}
diff --git a/web/app/components/datasets/create/website/base/error-message.tsx b/web/app/components/datasets/create/website/base/error-message.tsx index 5bf4d228dc..3bb8dfbbed 100644 --- a/web/app/components/datasets/create/website/base/error-message.tsx +++ b/web/app/components/datasets/create/website/base/error-message.tsx @@ -16,7 +16,7 @@ const ErrorMessage: FC = ({ errorMsg, }) => { return ( -
+
{title}
diff --git a/web/tailwind.config.js b/web/tailwind.config.js index 1fc55fd5ad..ad1e509b35 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -107,7 +107,7 @@ const config = { 'dataset-option-card-purple-gradient': 'var(--color-dataset-option-card-purple-gradient)', 'dataset-option-card-orange-gradient': 'var(--color-dataset-option-card-orange-gradient)', 'dataset-chunk-list-mask-bg': 'var(--color-dataset-chunk-list-mask-bg)', - 'dataset-crawler-error-message-bg': 'var(--color-dataset-crawler-error-message-bg)', + 'dataset-warning-message-bg': 'var(--color-dataset-warning-message-bg)', }, lineClamp: { '20': '20', diff --git a/web/themes/manual-dark.css b/web/themes/manual-dark.css index 12013c33fa..9ca4cd520c 100644 --- a/web/themes/manual-dark.css +++ b/web/themes/manual-dark.css @@ -32,5 +32,5 @@ html[data-theme="dark"] { rgba(24, 24, 27, 0.08) 0%, rgba(0, 0, 0, 0) 100% ); - --color-dataset-crawler-error-message-bg: linear-gradient(92deg, rgba(247, 144, 9, 0.30) 0%, rgba(0, 0, 0, 0.00) 100%); + --color-dataset-warning-message-bg: linear-gradient(92deg, rgba(247, 144, 9, 0.30) 0%, rgba(0, 0, 0, 0.00) 100%); } diff --git a/web/themes/manual-light.css b/web/themes/manual-light.css index c00f645a7b..107c869e6d 100644 --- a/web/themes/manual-light.css +++ b/web/themes/manual-light.css @@ -32,5 +32,5 @@ html[data-theme="light"] { rgba(200, 206, 218, 0.2) 0%, rgba(255, 255, 255, 0) 100% ); - --color-dataset-crawler-error-message-bg: linear-gradient(92deg, rgba(247, 144, 9, 0.25) 0%, rgba(255, 255, 255, 0.00) 100%); + --color-dataset-warning-message-bg: linear-gradient(92deg, rgba(247, 144, 9, 0.25) 0%, rgba(255, 255, 255, 0.00) 100%); }