What the Data for This Category Looks Like
Data sources include annual/quarterly financial reports of listed companies disclosed by the Shanghai, Shenzhen and Hong Kong stock exchanges, industry operation reports released by the China Plastics Processing Industry Association, and weekly raw material price reports publicly released by commodity exchanges. Annual financial reports are disclosed once per year. Quarterly financial reports are updated two weeks after the end of each quarter. Industry reports are released monthly. Most documents are in PDF or Word format with structured tables, containing fields such as production capacity, output, unit cost, import and export volume, and product revenue proportion. Common units include ten thousand tons, yuan/ton, kilogram/cubic meter, and similar units.
Constraints on Document Parsing and Chunking
Cross-page production capacity and import and export tables require retaining contextual associations for table rows during parsing, to avoid splitting complete table content across pages. Multiple detailed fields require retaining the integrity of the same category of data during chunking, to prevent splitting production capacity and price data for the same product into different chunks. Single long documents can reach dozens of pages, so the character count per chunk must be controlled to adapt to model context limits. Timestamps embedded in headers and footers must be parsed alongside their associated content to avoid losing data connections.
Configuration Settings
| Configuration Item | Recommended Setting | Rationale |
|---|---|---|
enable_cross_page_table | Enabled | Adapt to cross-page production capacity and import/export tables in plastics and rubber financial reports, avoid splitting complete table content |
chunk_size | 800–1200 characters | Balance the integrity of detailed fields and model context carrying capacity, adapt to the chunking needs of financial reports with multiple fields |
parse_pdf_with_ocr | Enabled only for scanned PDFs | Most public financial reports are editable PDFs and do not require OCR. Scanned warehouse receipt reports need this enabled to parse tables within images |
UPLOAD_FILE_MAX_SIZE | 500 MB | Single financial report documents are mostly 10–50 MB, reserve sufficient space to accommodate batch-uploaded industry reports |
PARSE_FILE_TIMEOUT_SECONDS | 120 seconds | Long financial report parsing requires sufficient time to complete table recognition and chunking, avoid timeout failures mid-process |
enable_table_extract | Enabled | Core financial report data is concentrated in tables, enabling this allows complete extraction of fields and values within tables |
The parameter values provided on this page are common recommended starting points for configuration. Actual values are affected by material form, data volume and business rules. Specific issues require case-by-case analysis, and it is recommended to test on your own samples before finalizing settings.
Three Common Mistakes
- Phenomenon: No parsing result after uploading a Java interface document with a modified file extension. Cause: The document content uses code formatting, and the code document parsing configuration is not enabled. FastGPT only parses structured financial report documents by default, and cannot recognize unstructured code content.
- Phenomenon: After using chunk mode to call the pushdata API for upload, the page continuously displays the indexing status. Cause: The
chunk_overlapparameter is not set, resulting in too low chunk overlap, or the uploaded chunk data format does not meet API requirements, triggering background indexing queue timeout. - Phenomenon: Raw material price charts included in the uploaded financial report PDF have no parsed content. Cause: The
parse_image_in_pdfconfiguration is not enabled. FastGPT ignores image content within PDFs by default, and cannot extract commodity price data from charts.
How to Confirm Configurations Are Set Correctly
- Upload a single-page plastics and rubber industry report PDF, verify tables in the parsing result completely retain cross-page content to confirm the
enable_cross_page_tableconfiguration is effective. - Call the document parsing interface, confirm returned chunk data includes production capacity and cost data for the same product to verify the
chunk_sizeconfiguration adapts to the field density of the current document. - Upload a scanned warehouse receipt report, verify table data within images can be correctly extracted to confirm the
parse_pdf_with_ocrconfiguration is enabled as needed. - Check uploaded file size is within the limit of
UPLOAD_FILE_MAX_SIZEto confirm the system upload threshold is not exceeded.
Question material comes from public community discussions. Configuration values are common starting points and should be measured against your own samples. Verified on 2026-09-14.