Multi-Turn Conversation and Prompts for Kindergarten Safety and Emergency Drills: Manage Authorized Access and External Services

Kindergarten Safety: review conversation for authorized access. Check source versions, input mappings and the values received by downstream nodes.

What this category's data looks like

This page addresses the kindergarten safety protection and emergency drill scenario, organizing four types of materials: hazard items and rectification deadlines, drill participant counts and sign-ins, access control and school bus check items, and responsible person signatures. The materials come from daily inspection forms of the kindergarten, drill plans and sign-in sheets, access control and school bus handover records, and responsibility statement signature pages, updated weekly or per occurrence, with fields characterized by dates, locations, participant counts, and signatures. When these materials enter the multi-turn dialogue and prompt features, each plays a different role: hazard items and rectification deadlines are used to follow up on closure status, drill participant counts and sign-ins are used to verify whether the plan matches the actual situation, access control and school bus check items are used to confirm item by item whether anything is missing, and responsible person signatures are used to confirm whether records are complete. The materials themselves do not generate external entry points; they serve only as inputs for the historical message range and answer constraints referenced when responding.

Configuration and implementation checks

This part is executed by the memory turns and prompt configuration in the application settings, outputting the referenced historical message range and answer constraints. The externally available entry points and authorization scope are determined by the publishing service and file permissions; the model only processes filtered materials, while the publishing service and file permissions are responsible for external entry points and file authentication.

ObjectCheckVerification action
Memory turnsMatches the preceding context range required by the questionCheck the current value in the application settings, and run a trial with two consecutive follow-up questions to confirm that the second round correctly inherits the references from the first round; when checking, record the correspondence between chatId and messages
Hazard items and rectification deadlinesWhether hazards are closed and whether rectification deadlines match the planCheck the rectification status and deadlines item by item by location, inspect whether there are unclosed items, and confirm that the deadline fields recorded in variables match the plan
Drill participant counts and sign-insWhether the drill records match the planCompare the participant counts in the plan against the sign-in sheet item by item, and confirm whether there are missing signatures or mismatched participant counts
Access control and school bus check itemsWhether check items are missing and whether the responsible person has signedCheck the access control and school bus records item by item according to the checklist, and confirm that all responsible persons have signed

Three common errors

  • Phenomenon: Hazard rectification remains unclosed for a long time. Cause: The inspection form only registers discovered items and does not record rectification deadlines and review results, so closure status cannot be provided during follow-up.
  • Phenomenon: Drill records do not match the plan. Cause: The number of sign-ins and the number of participants set in the plan were not compared item by item; the record only states the total number, and missing items were not discovered.
  • Phenomenon: Access control and school bus check items are missing. Cause: The checklist is summarized weekly, individual locations were not checked item by item, and blank responsible person signature fields were still treated as complete.

How to verify the setup

This feature acceptance: Ask two consecutive follow-up questions, see whether the second question inherits the references from the first question, and check whether the historical range of messages under chatId is consistent with the value of memory turns.

Business test: Access once with a restricted identity and see whether the visible range matches the setting.

  • Check the memory turns value in the application settings, and run a trial with two consecutive question sentences to confirm that the references in the second round are correct.
  • Compare the usage records of two runs to confirm that consumption changes accordingly after adjusting the number of turns.