What the Data for This Category Looks Like
The core data for this category comes from daily operational documents of raw material warehouses, line-side warehouses, finished product warehouses and material control departments. These documents include receiving slips, putaway slips, material picking and returning slips, warehouse transfer slips, inventory reports, lot ledgers, and more. Data sources cover ERP/WMS systems, barcode or RFID equipment, procurement and work order information, storage location records, AGV transport systems, and weighing data. Update frequencies are divided into three categories: real-time (such as warehouse transfer and receiving operations), daily (such as material picking and returning statistics), and monthly (such as inventory reconciliation). Core document fields include material codes, lot numbers, storage locations, expiration dates, inspection statuses, and other key information.
Constraints Imposed by These Characteristics on the "Source Citation and Traceability" Link
Data sources are scattered, and update frequencies vary. Traceability links must associate timestamps and operation records from multiple systems to ensure complete traceability of lot flow. Multiple document fields with fine granularity require precise matching of fields such as material codes and lot numbers, to avoid matching deviations during cross-review. Real-time updated warehouse transfer and receiving data require traceability to support dynamic synchronization, and cannot rely on static caching. The core requirement of account-physical consistency requires that cited sources must be linked to original operation vouchers, to prevent risks such as incorrect material use or expired material use.
Configuration Guidelines
This configuration applies to FastGPT v4.17.0.
| Configuration Item | Recommended Setting | Rationale |
|---|---|---|
quoteMaxToken | 800–1200 token | Matches the average length of single citations for warehousing documents, to avoid truncating key lot and expiration date information |
| Citation display location | End of conversation reply | Aligns with the habits of warehouse operators when viewing traceability information, and does not interrupt core reply content |
responseData | Enabled | Retains the fields of original cited data, to facilitate verification of key verification information such as material codes and storage locations |
| Single-recall citation count | Top 3–5 entries | Matches the number of material lots associated with a single work order, to avoid excessive citations interfering with review |
detail | Enabled | Displays complete fields of cited documents, including core verification items such as expiration dates and inspection statuses |
Three Common Misconfiguration Scenarios
- Symptom: Redundant knowledge base citation links appear in conversation replies. Cause: Citation display switches are not configured correctly, and unnecessary original link display is enabled by mistake.
- Symptom: Expiration date fields are missing from cited lot information. Cause: The
detailconfiguration item is not enabled, so complete document fields are not recalled. - Symptom: Cited traceability results do not match actual storage locations. Cause: Dual data sources from ERP and WMS are not associated, and only data from a single system is called.
How to Verify Proper Configuration
- A query including a material lot number is initiated, and whether the configured number of citation entries are displayed at the end of the reply is checked.
- Single citation content is verified to include core fields such as material codes, storage locations, and expiration dates.
- A query including real-time warehouse transfer information is tested, and cited data updates synchronously with operations are confirmed.
- Unconfigured redundant links in the reply are checked, and citation display that meets expected standards is confirmed.
The values provided here are common starting points, and should be evaluated against the samples relevant to the intended deployment.