What the data for this category looks like
Thermal coal public data sources include monthly production statistics from major domestic thermal coal producing regions, daily coastal port cleared price reports, coal business data from quarterly and annual financial reports of listed coal enterprises, and industry supply and demand balance sheets. Three update frequency categories apply:
- Spot price data is updated daily
- Monthly supply and demand data is released in mid-to-late each month
- Listed company financial report data is updated at fixed quarterly and annual points
Document structures fall into two types: Single financial report documents have structured fields including coal business revenue, unit production cost, sales volume, and inventory. Industry reports have unstructured paragraphs covering regional production capacity, transportation costs, and policy regulation directions. Units follow industry standards: production in 10,000 tons, price in yuan per ton, calorific value in kilocalories per kilogram, revenue in 10,000 yuan.
Constraints on knowledge base retrieval and recall
Differences in multi-source update frequencies for thermal coal data require the retrieval link to distinguish recall priorities for real-time spot data, monthly industry data, and periodic financial report data. This prevents stale data from being recalled first. The mixed structure of structured fields and unstructured paragraphs requires configuration of precise matching rules for structured fields and semantic recall rules for unstructured content. The industry-specific unit system requires automatic unit field alignment during retrieval. This prevents invalid recall results caused by unit mismatches. The time point attribute of financial report data requires filtering by report period during recall. This avoids non-corresponding cross-quarter or cross-year data being included in the context.
Configuration Settings
| Configuration Item | Recommended Value Range | Rationale |
|---|---|---|
maxContext | 8000–12000 characters | Single thermal coal-related financial report and industry report documents are mostly 5000–10000 characters long, reserving sufficient space for multiple recalled results |
recall count | Top 6–8 results | Covers multiple data sources including financial reports, industry reports, and spot data, avoiding context overflow |
similarity threshold | 0.72–0.78 | Adapts to the dense professional terminology of the thermal coal industry, balancing recall precision and coverage |
PARSE_FILE_TIMEOUT_SECONDS | 300 seconds | Adapts to parsing time for large financial report documents or batch industry reports |
chunk length | 1000–1500 characters | Avoids splitting structured fields such as unit cost and calorific value in thermal coal financial reports |
reranked return count | Top 3–4 results | Retains the most relevant structured financial report data and core industry policy content, optimizing context purity |
The parameter values provided on this page are common starting points for configuration. Actual values are affected by material format, data volume, and business rules. Specific issues require specific analysis, and it is recommended to test on your own samples before finalizing.
Three Common Configuration Errors
- Symptom: Knowledge base recall results are truncated, with only partial fields or paragraphs returned. Cause: The
maxContextconfiguration was not adjusted, and recalled content exceeding the set length is automatically discarded. - Symptom: After importing multi-dimensional spreadsheet tables or Excel files, structured fields in the files cannot be matched during retrieval. Cause: The structured parsing switch for the corresponding file type was not enabled, and only plain text content was extracted.
- Symptom: A
408 Request Timeouterror is returned when parsing thermal coal financial report documents. Cause: ThePARSE_FILE_TIMEOUT_SECONDSsetting value is less than the actual parsing time of the document.
How to Verify Proper Configuration
- Upload a thermal coal financial report document with a single-page length within the business range, check the parsed chunk results, and confirm that structured fields are not split.
- Initiate a search for thermal coal unit cost, verify that the correct unit for the corresponding field is included in the recalled results, and adjust the
similarity thresholduntil the matching precision meets requirements. - Batch upload 5 or more industry reports, check the status of parsing tasks, confirm that no timeout errors occur, and adjust
PARSE_FILE_TIMEOUT_SECONDSto the appropriate range. - Initiate a cross-source search (such as combining financial report data and spot prices), verify that the number of recalled results falls within the set
recall countrange.
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.