Knowledge Base Retrieval for University Laboratory Safety Classification: Track Progress and Check Statistics

Lab Safety Categories: review retrieval for progress tracking. Check source versions, input mappings and the values received by downstream nodes.

What this category's data looks like

Materials for safety grading and classification of university laboratories mainly consist of laboratory grading and classification tables, hazard source lists, and safety responsibility statements. They are sourced from periodic reporting by departments and laboratory safety officers, with updates rolling by semester or special inspection. The grading and classification table records laboratory name, room number, category level, and responsible person; the hazard source list records hazard source name, quantity, storage location, and control measures; the safety responsibility statement records responsible person, signature, and receipt date. When these three types of materials enter the knowledge base retrieval and recall function, each is split, vectorized, and indexed as independent segments. During retrieval, candidates are recalled by semantics or full text, for subsequent nodes or manual verification of whether the name, quantity, date, and signature of the same record are consistent, and based on this, progress tables and statistical scope descriptions are generated.

Configuration and implementation checks

The knowledge base retrieval service (retrieval node and search test) only outputs candidate segments and similarity scores (after pattern, merge, rerank, filter, and upper limit trimming). Progress tables and statistical scope descriptions must be done by subsequent nodes or manually. A single retrieval consists of question optimization, semantic/full-text/hybrid recall, multi-path merge, rerank secondary sorting, similarity filtering, and citation upper limit trimming, and only then is the citation content handed to the model.

ObjectCheckVerification action
Laboratory grading and classification tableCheck with the hazard source list whether the same laboratory name, room number, and date are consistentIn the search test, recall by laboratory name, check the number of candidates and scores, and record searchMode
Hazard source listCheck with the grading and classification table whether hazard source name, quantity, and storage location matchSwitch between semantic and full-text modes and retrieve once each, see whether candidates cover both materials, and record similarity
Safety responsibility statementCheck whether the responsible person's signature and receipt date are complete and whether versions are synchronizedRetrieve once each with rerank enabled and disabled, compare the order of the first few items, and record usingReRank
Progress table and statistical scope descriptionRecord counts and statistical counts match, scope is written in the header and exceptions are markedUse one week of records to check the total, and check whether the number of candidates and citation text tokens are recorded separately

Three common errors

  • Phenomenon: The name, quantity, and date of the same laboratory in the grading and classification table and the hazard source list do not match. Cause: The two materials have different reporting scopes and were not checked against unified fields.
  • Phenomenon: The safety responsibility statement lacks a signature or receipt, and versions are not synchronized. Cause: Update rhythms are inconsistent, and the old version of the responsibility statement is still recalled as a candidate in the knowledge base.
  • Phenomenon: There are many candidates but the ones ranked first are irrelevant, and the answer lacks key paragraphs. Cause: The retrieval mode does not match the material form, or key segments are truncated after similarity filtering and citation upper limit trimming.

How to verify the setup

Acceptance of this function: Test once each with synonym-rewritten questions, compare candidates and scores, then toggle rerank to see the ordering of the first few items; record the number of candidates and scores, and check citation text tokens separately.

Business test: Use one week of records to check the total, see whether the scope and exceptions are clearly written, and check whether the name, quantity, date, and signature in the grading and classification table, hazard source list, and safety responsibility statement are consistent.

  • In the knowledge base search test, switch searchMode and compare the number of candidates and scores for semantic, full-text, and hybrid modes.
  • Retrieve once each with rerank enabled and disabled, record usingReRank and similarity, check the tokens of the citation text after citation upper limit trimming, and record the array length separately.