What this category's data looks like
In the laboratory hazardous chemical procurement and ledger scenario, materials include three types: hazardous chemical procurement applications, issuance registrations, and inventory ledgers, all of which contain name, quantity, date, and signature fields. Procurement applications record the product name, specifications, requested quantity, supplier, and approval signature; issuance registrations record the recipient, purpose, actual issued quantity, and receipt signature; inventory ledgers record the balance, batch, and inventory count date. Materials are updated with procurement batches, issuance frequency, and inventory count cycles, and versions tend to diverge. When materials enter the vector model and indexing feature, procurement applications and issuance registrations serve as text index sources, while the inventory ledger serves as the raw data row, whose index field records multiple vector identifiers for merging after recall.
Configuration and implementation checks
This step is executed by the indexing service and vector database, outputting vectors and index status (whether recall is possible and whether data in the same group is merged). The "version ledger and change records" are then completed by subsequent AI nodes, code nodes, or manual work (retrieval and citation trimming only take supporting materials).
| Object | Check | Verification action |
|---|---|---|
| Index model | Consistent with the vector model actually used by the knowledge base | Check the index model in the knowledge base settings and confirm it corresponds to the data row index field |
| Data row index field | All multiple vector identifiers of one data item are present | Open a data row to check the index field, confirm the status is indexed, and record the coverage scope of the rebuild task |
| Hazardous chemical procurement application | Name, quantity, date, and signature are complete | Compare the application form with the inventory ledger, and check the product name, requested quantity, approval date, and signature |
| Issuance registration | Recipient, actual issued quantity, and receipt signature are traceable | Compare the issuance registration with the inventory ledger, and check the quantity, date, and receipt signature |
Three common errors
- Symptom: The name, quantity, and date of the same record do not match between the procurement application and the inventory ledger. Inspect the following: data in the same group is not merged.
- Symptom: The version is not synchronized, and the old version can still be recalled. Inspect the following: After changing the model, rebuild is triggered only for data that has already been indexed, not covering all data rows, and the index status remains on the old model.
- Symptom: The issuance registration lacks a signature or receipt, and citation trimming cannot obtain supporting materials. Inspect the following: The data row has content but cannot be retrieved, the index field is empty, and the vector is not written to the vector database.
How to verify the setup
Acceptance of this feature: sample a data row to check the index field, confirm that multiple vector identifiers are present and the status is indexed, and review the coverage scope recorded by the rebuild task; then retrieve once to see whether data in the same group is merged and whether the highest score is taken.
Business test: change one piece of content and see whether the version number and citations are updated synchronously; the number of citations is recorded by array length, the citation content budget is checked against quoteMaxToken, and when limits are involved, check the tokens of the citation text, while the array length is recorded separately.
- Check the index model and
maxTokenin the knowledge base settings, confirm they are consistent with the data row index field, and review the data scope covered by the rebuild task records. - Open a data row to check the index field, confirm the status is indexed, and retrieve once to see whether the same group is merged; if duplicate entries appear, check whether
defaultTokenand the index field are complete.