Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Feat: Even if the knowledge base has slices, the chunk method can be changed #7115 (#7201)

balibabudde8c26feb78
diff --git a/web/src/pages/add-knowledge/components/knowledge-setting/configuration/common-item.tsx b/web/src/pages/add-knowledge/components/knowledge-setting/configuration/common-item.tsx
index 3822bf8be9..62670e8a94 100644
--- a/web/src/pages/add-knowledge/components/knowledge-setting/configuration/common-item.tsx
+++ b/web/src/pages/add-knowledge/components/knowledge-setting/configuration/common-item.tsx
@@ -33,7 +33,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() {
const { t } = useTranslate('knowledgeConfiguration');
const form = Form.useFormInstance();
const handleChunkMethodSelectChange = useHandleChunkMethodSelectChange(form);
- const disabled = useHasParsedDocument();
const parserList = useSelectChunkMethodList();
return (
@@ -45,7 +44,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() {
>
<Select
placeholder={t('chunkMethodPlaceholder')}
- disabled={disabled}
onChange={handleChunkMethodSelectChange}
options={parserList}
></Select>