What this category's data looks like
Daily documents for this category include inspection specifications, sampling plans, incoming material reports, supplier audit reports, abnormality contact sheets, 8D reports, concession acceptance approval forms, and more. Data sources cover purchase orders, drawings and specification documents, supplier quality certificates, inspection equipment records, historical quality data, and supplier portal information. The data update rhythm varies by business scenario: new inspection and report data is generated for each batch of incoming materials, supplier quality evaluations are completed monthly or quarterly, and supplier audits and abnormal rectification follow-ups are carried out irregularly. Most document structures include fields such as batch number, version number, inspection items, judgment results, and supplier information. Some documents require association with specific material codes and inspection equipment parameter records.
What constraints do these characteristics impose on the citation source and traceability link
Data sources for this category are scattered and associated with material batches and supplier information. The citation traceability link must accurately match material codes, batch numbers, and supplier identifiers to avoid data confusion across batches and suppliers. Data update frequency changes with incoming material batches and audit rhythms, so support for real-time pulling of the latest versions of inspection specifications and quality reports is required to prevent referencing expired documents. Some documents are associated with approval status, such as concession acceptance approval forms and 8D rectification reports. The traceability link must verify the effective status of documents to ensure only approved valid files are referenced. Document fields include multi-dimensional quality parameters, and details such as associated inspection equipment and sampling plans must be fully displayed during traceability to meet compliance requirements for quality traceability.
How to set the configuration
This document is written based on the configuration logic of FastGPT v4.17.0.
| Configuration Item | Recommended Approach | Basis for This Approach |
|---|---|---|
quoteMaxToken | 800–1200 token | Incoming material inspection and supplier quality documents include multi-dimensional details such as batch numbers and inspection parameters, requiring sufficient tokens to retain complete cited content |
| Citation data scope | Only return approved and effective documents | Quality documents for this category require association with approval status, filtering invalid documents under review or expired |
detail | Enable full field display | Details such as inspection equipment model, sampling plan, and supplier quality certificate number must be displayed to meet quality traceability requirements |
responseData | Associate material codes and batch information | Incoming material inspection requires accurate matching of the current batch's inspection specifications to avoid data confusion across batches |
| Citation result limit | Top 3–5 entries | Avoid excessive citations interfering with business judgment, while covering the main quality reference basis |
| Citation sorting rule | Prioritize batch timeliness | The latest batch of incoming material inspection data has higher priority, aligning with on-site business processing logic |
Three common misconfigurations
- Phenomenon: The citations returned by the knowledge base do not meet business expectations, and the current batch's inspection specifications are not displayed first. Cause: The sorting rule based on batch timeliness is not configured, and the default sorting logic does not match the business priority of this category.
- Phenomenon: Citation content not associated with the local knowledge base appears in the conversation, showing documents that do not exist locally. Cause: The local data source verification for
responseDatais not enabled, and external cache or unfiltered data sources are directly called. - Phenomenon: Knowledge base citation display in conversations cannot be turned off. Cause: The display switch for
detailis not configured correctly, or the citation display is mistakenly set to a forced on state.
How to confirm the configuration is complete
- Initiate a process specification query for the current incoming material batch, and check whether the returned citation documents are the valid versions corresponding to the current batch.
- Check whether the cited content includes fields unique to this category such as material codes and inspection equipment models, to confirm that the
detailconfiguration is effective. - Verify whether the number of returned citations meets the preset limit, to confirm that the sorting rule prioritizes batch timeliness.
- Test calling an ineffective approval document, and confirm that the system does not return such invalid citation content.
The values provided are common starting points and should be measured against applicable local samples.