RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Feat: Remove the pageindex option from the extraction operator. (#17826)
balibabub0061fb4ccba
diff --git a/web/src/locales/en.ts b/web/src/locales/en.tsindex e72b6e0e5a..2fc072f459 100644--- a/web/src/locales/en.ts+++ b/web/src/locales/en.ts@@ -3115,7 +3115,6 @@ This delimiter is used to split the input text into several text pieces echo ofvariableSettings: 'Variable settings',systemPrompt: 'System prompt',userPrompt: 'User prompt',- tocDataSource: 'Data source',tagFile: 'Tag file',addCategory: 'Add category',categoryName: 'Category name',@@ -3352,7 +3351,6 @@ The Indexer will store the content in the corresponding data structures for thekeywords: 'Keywords',questions: 'Questions',metadata: 'Metadata',- toc: 'PageIndex',fieldName: 'Result destination',prompts: {system: {@@ -3390,7 +3388,6 @@ Key Instructions:metadata: `Extract important structured information from the given content. Output ONLY a valid JSON string with no additional text. If no important structured information is found, output an empty JSON object: {}.Important structured information may include: names, dates, locations, events, key facts, numerical data, or other extractable entities.`,- toc: '',},user: {keywords: `Text Content@@ -3400,7 +3397,6 @@ Important structured information may include: names, dates, locations, events, ksummary: `Text to Summarize:[Insert text here]`,metadata: `Content: [INSERT CONTENT HERE]`,- toc: '[Insert text here]',},},cancel: 'Cancel',diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.tsindex 1076886997..dd7d21926f 100644--- a/web/src/locales/zh.ts+++ b/web/src/locales/zh.ts@@ -2939,7 +2939,6 @@ Tokenizer 会根据所选方式将内容存储为对应的数据结构。`,keywords: '关键词',questions: '问题',metadata: '元数据',- toc: 'PageIndex',fieldName: '结果目的地',prompts: {system: {diff --git a/web/src/pages/agent/constant/pipeline.tsx b/web/src/pages/agent/constant/pipeline.tsxindex dbfc0e3372..f09cc15686 100644--- a/web/src/pages/agent/constant/pipeline.tsx+++ b/web/src/pages/agent/constant/pipeline.tsx@@ -97,7 +97,6 @@ export enum ContextGeneratorFieldName {Keywords = 'keywords',Questions = 'questions',Metadata = 'metadata',- TableOfContents = 'toc',}export const FileId = 'File'; // BeginIddiff --git a/web/src/pages/agent/form/extractor-form/index.tsx b/web/src/pages/agent/form/extractor-form/index.tsxindex c51a313f9f..e296adda31 100644--- a/web/src/pages/agent/form/extractor-form/index.tsx+++ b/web/src/pages/agent/form/extractor-form/index.tsx@@ -80,7 +80,6 @@ const ExtractorForm = ({useFormChangeCallback(form, onValuesChange);const ownerTenantId = useOwnerTenantId();- const isToc = form.getValues('field_name') === 'toc';const { treeData, loadData } = useTagFileTree();@@ -131,20 +130,15 @@ const ExtractorForm = ({)}</RAGFlowFormItem>- {!isToc && (- <RAGFlowFormItem label={t('flow.systemPrompt')} name="sys_prompt">- <PromptEditor- placeholder={t('flow.messagePlaceholder')}- showToolbar={true}- baseOptions={promptOptions}- ></PromptEditor>- </RAGFlowFormItem>- )}+ <RAGFlowFormItem label={t('flow.systemPrompt')} name="sys_prompt">+ <PromptEditor+ placeholder={t('flow.messagePlaceholder')}+ showToolbar={true}+ baseOptions={promptOptions}+ ></PromptEditor>+ </RAGFlowFormItem>- <RAGFlowFormItem- label={isToc ? t('flow.tocDataSource') : t('flow.userPrompt')}- name="prompts"- >+ <RAGFlowFormItem label={t('flow.userPrompt')} name="prompts"><PromptEditorshowToolbar={true}baseOptions={promptOptions}