What this category's data looks like
This category's data covers three types of materials: procurement applications, usage registrations, and inventory ledgers. Sources are the procurement system, warehouse registration, and ledger maintenance records, with updates synchronized with each procurement, usage, and stocktaking. Field characteristics center on product name, specification, quantity, date, responsible person, signature, and receipt. When materials enter the knowledge base retrieval service, each serves as a candidate chunk source: procurement applications provide requirement and approval fields, usage registrations provide user and purpose fields, and inventory ledgers provide balance and batch fields. Retrieval recalls by semantic, full-text, or hybrid mode, then undergoes merging, re-ranking, filtering, and limit truncation, ultimately returning candidate chunks and similarity scores for subsequent nodes or manual drafting of issuable materials and handover records.
Configuration and implementation checks
This step is executed by the knowledge base retrieval service (retrieval node and search test), outputting candidate chunks and similarity scores (after mode, merging, re-ranking, filtering, and limit truncation). Issuable material drafts and handover records are then completed by subsequent nodes or manually.
| Object | Check | Verification action |
|---|---|---|
| Hazardous chemicals procurement application | Product name, specification, quantity, date, responsible person, signature, and receipt are complete, and consistent with usage registration and inventory ledger | In the knowledge base search test, switch searchMode to hybrid, retrieve procurement application fields, check the number of candidates and scores, and confirm that product name, quantity, date, and responsible person have no missing items |
| Usage registration | User, purpose, quantity, date, signature, and receipt are complete, and correspond to procurement application and inventory ledger | Retrieve once each with synonym-rewritten questions, compare candidates and scores, check whether usage quantity and date are consistent with the ledger, and whether candidates missing signature or receipt are filtered out |
| Inventory ledger | Batch, balance, date, responsible person, signature, and receipt are complete, and match procurement application and usage registration | Enable and disable re-ranking, compare the order of the top few candidates, check whether ledger chunks retain key fields under usingReRank and similarity thresholds, and record the number of candidates |
Three common errors
- Symptom: The name, quantity, and date of the same hazardous chemical do not match across two materials. Cause: Procurement applications, usage registrations, and inventory ledgers are maintained separately, and fields are not cross-checked uniformly.
- Symptom: Versions are not synchronized, and an old ledger is mixed with a new application. Cause: After materials are updated, they are not synchronized to retrieval candidates, and cited content still points to old chunks.
- Symptom: Signature or receipt is missing, and the handover record cannot be signed off. Cause: When drafting materials, signature and receipt fields were not validated against the template, and retrieval candidates did not cover those fields.
How to verify the setup
This feature acceptance: test once each with synonym-rewritten questions, compare candidates and scores, then toggle re-ranking to observe the order of the top few; check the number of candidates and scores under searchMode, similarity, usingReRank, and limit; the number of citations is recorded separately by array length, and the citation limit checks the tokens of the cited text.
Business test: draft one according to the template and complete one handover, and see whether missing items are blocked.
- In the knowledge base search test, switch among semantic, full-text, and hybrid modes, record the number of candidates and scores, and check whether product name, quantity, date, and responsible person fields are complete.
- Enable and disable re-ranking, compare the order of the top few candidates, and check whether signature and receipt fields are retained and whether missing items are filtered out.