What this category's data looks like
This page addresses the foreign teacher appointment and course scheduling scenario; the materials include appointment contracts, work permit materials, and course scheduling tables. The appointment contract contains the position name, appointment start and end dates, number of teaching hours, and signatures of both parties; the work permit materials contain the permit number, validity period, and issuance receipt; the course scheduling table contains the course name, instructor, week numbers, classroom, and scheduling signature. The three types of materials are updated by semester or appointment period, and the version is based on the latest signature or receipt. When entering the hybrid retrieval and reranking function, the contract and permit materials assume the role of basis source, while the course scheduling table assumes the role of scheduling fact; each enters the candidates in the form of original text entries, for subsequent citation trimming and answer generation.
Configuration and implementation checks
This step is executed by the reranking model in the retrieval service, which outputs the sorted candidates and rerank scores. The basis entries that can be traced back to the original text are then completed by citation trimming and answer generation. Hybrid retrieval simultaneously runs the vector and full-text paths and merges the results; after merging, the scope is large and similarity filtering cannot be applied directly, so the reranking model is usually used again to sort and filter by rerank score.
| Object | Check | Verification action |
|---|---|---|
| Appointment contract | Whether the fields, dates, and signatures match the work permit materials and course scheduling table | Check the position name, appointment start and end dates, number of teaching hours, and signature field, and compare the same record name and dates in the two materials; in the search parameters, check the searchMode and usingReRank status, and record the number of candidates and scores |
| Work permit materials | Whether the permit number, validity period, and receipt are consistent with the appointment contract | Check the permit number, validity period, and issuance receipt, and confirm the version is current; compare the order and scores before and after reranking, record the number of candidates and scores, and check whether the similarity filter takes effect according to the rerank score |
| Course scheduling table | Whether the course name, instructor, week numbers, and scheduling signature are consistent with the appointment contract | Check the course name, instructor, week numbers, and scheduling signature, and compare the name, quantity, and dates of the same record in the two materials; use limit to control the number of candidates, record the number of citation array entries separately, and do not compare the array length with the citation text tokens for equality |
| Hybrid retrieval and reranking pipeline | The vector and full-text paths are enabled and merged, and the reranking model is bound and used for sorting and filtering | In the search parameters, check the switches for both paths and see whether candidates come from both paths at the same time; compare the order and scores before and after reranking, and confirm that the top few are relevant to cross-material basis questions |
Three common errors
- Symptom: the same teacher name is written differently in the appointment contract and the course scheduling table. Cause: the two materials are entered separately, without name normalization and version synchronization.
- Symptom: the number of teaching hours does not match between the contract and the scheduling table. Cause: after a scheduling adjustment, only one place was changed, while the other still has the old version.
- Symptom: the work permit materials lack a signature or receipt. Cause: the issuance step was not returned, the current version cannot be confirmed, and the basis entries cannot be traced back to the original text.
How to verify the setup
Feature acceptance: turn reranking on and off to compare the order and scores of the top three, record the number of candidates and scores, and check whether usingReRank and similarity filter according to the rerank score.
Business test: ask a cross-material basis question, see whether the answer provides traceable sources, and check that the number of citation array entries and the citation text tokens are recorded separately.
- In the search parameters, check
searchMode,usingReRank, andlimit, record the number of candidates and scores, and confirm that the results from both paths have been merged. - Compare the fields, dates, and signatures of the appointment contract, work permit materials, and course scheduling table one by one, and confirm that the basis comes from this institution's materials and that the version is current.