mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Fix VLM PDF parser only parse first 12 pages, and default page range for PDF files align with backend (#16394)
1. Fix VLM parser only parse first 12 pages 2. Fix frontend default pages 1 - 100000, keep aligned with backend.
This commit is contained in:
@@ -247,7 +247,7 @@ export function ChunkMethodDialog({
|
||||
pipeline_id: pipelineId || '',
|
||||
parseType: pipelineId ? ParseType.Pipeline : ParseType.BuiltIn,
|
||||
parser_config: fillDefaultParserValue({
|
||||
pages: pages.length > 0 ? pages : [{ from: 1, to: 1024 }],
|
||||
pages: pages.length > 0 ? pages : [{ from: 1, to: 100000 }],
|
||||
...omit(parserConfig, 'pages'),
|
||||
image_table_context_window:
|
||||
parserConfig?.image_table_context_window ??
|
||||
|
||||
Reference in New Issue
Block a user