What the data for this category looks like
Data sources for this category include engineering orders, sand, gravel, cement, admixture inspection records, aggregate moisture content measurement data, mixing station control system logs, and project laboratory archived documents. Data updates follow the frequency of per-vehicle production records, per-batch raw material inspections, and daily summary statistics. Daily documents include mix proportion notices, opening identification forms, production and transportation orders, raw material inspection reports, and test block strength records. Fields include raw material batch number, mixing parameters, transportation duration, and test block strength value, with corresponding units of kilograms, cubic meters, hours, and megapascals.
What constraints these characteristics impose on the "source citation and traceability" link
The high-frequency per-vehicle update requirement means the traceability system must support real-time pulling of the latest production and inspection data, to avoid referencing expired raw material parameters. Dispersed data from multiple sources must be uniformly associated with corresponding engineering orders and batches, to ensure complete traceability links. Diverse document types with varying field requirements demand precise matching of field rules for different documents. For example, parameters on mix proportion notices must correspond to actual batching data from the mixing station. The lag of test block strength records requires that traceability can associate follow-up verification data from historical batches, to support retrospective analysis of quality anomalies. The strong binding requirement between raw material inspection and mixing parameters demands that when citing sources, both raw material batches and production time must be matched, to avoid incorrect cross-batch associations.
How to configure the settings
| Configuration Item | Recommended Setting | Rationale for This Setting |
|---|---|---|
| Maximum Context | 8000–12000 characters | Adapts to FastGPT v4.17.0 context processing rules, matches the total length of multiple documents associated with a single engineering order |
quoteMaxToken | Top 3–5 matching results | Limits the number of citations per traceability round, aligns with the data scale of single-batch raw materials or single-vehicle production in ready-mixed concrete production |
| Maximum Knowledge Base Citations | 10000 tokens | Covers the total token count of single-batch raw material inspection and production records, prevents key parameters from being truncated |
responseData | Includes raw material batch number and test block strength fields | Forces return of core business fields required for audits, simplifies information extraction for quality audits |
detail | Enables full traceability link display | Shows document type and update time of data sources, meets traceability requirements for supplier and process quality audits |
| Maximum Response Tokens | 2000–3000 characters | Adapts to the output length of audit reports, can fully display association descriptions for multiple sets of traceability data |
Three common mistakes
- Phenomenon: Residual original line break markers
\nappear in returned traceability data, and the expected paragraph line break effect is not achieved. Cause: Text formatting rules were not configured, and line breaks from original documents were returned as-is in audit results. - Phenomenon: The number of traceability data items returned in a single audit request does not meet expectations, being either too many or too few. Cause: Values for
quoteMaxTokenor maximum knowledge base citations were not set appropriately, and did not match the data scale of single-batch data in ready-mixed concrete production. - Phenomenon: Traceability queries return empty results or time out. Cause: Maximum context setting exceeds platform processing limits, or engineering orders and raw material batches were not correctly associated, so no valid associated data can be retrieved.
How to confirm proper configuration
- A query targeting single-batch raw material inspection records can be initiated, and the returned results can be checked for the correct raw material batch number and inspection time.
- The format of returned traceability data can be reviewed, to confirm that line breaks have been correctly rendered as line breaks, with no original
\nmarkers remaining. - The value of
quoteMaxTokencan be adjusted, and the number of returned matching results can be verified to align with the business data scale. - A query involving multiple associated documents can be triggered, to confirm that core business parameters are not truncated.
The values provided here are common starting points, and should be evaluated against the reader's own samples.