Skip to content

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

Feat: Set the default value of Chunk token number to 512 #6016 (#6017)

balibabu3af1063737ab
diff --git a/web/src/components/max-token-number.tsx b/web/src/components/max-token-number.tsx
index 94829efd95..c64b40fac6 100644
--- a/web/src/components/max-token-number.tsx
+++ b/web/src/components/max-token-number.tsx
@@ -6,7 +6,7 @@ interface IProps {
max?: number;
}
-const MaxTokenNumber = ({ initialValue = 128, max = 2048 }: IProps) => {
+const MaxTokenNumber = ({ initialValue = 512, max = 2048 }: IProps) => {
const { t } = useTranslate('knowledgeConfiguration');
return (