What this category's data looks like
The data for this category looks like this. National Key R&D Program project application materials include three types: project application form, budget application form, and cooperation agreement. The sources are the application system and offline stamped documents, and the update cadence changes with application batches and review comments. Project application form fields include project name, responsible person, start and end dates, and signature; budget application form fields include subject name, quantity, amount, preparation date, and signature; cooperation agreement fields include partner name, task division, signing date, and seal. When the materials enter multi-turn dialogue and prompt features, the project application form plays the role of the main record, the budget application form plays the role of numerical verification, and the cooperation agreement plays the role of signing and version comparison. Authorized access and external services need to limit the visible scope according to the visitor's identity. When opening to parents or superiors, first match identity and visible scope; unauthorized access must not be visible.
Configuration and implementation checks
How to configure it. This part is executed by the memory turns and prompt configuration in the application settings, and outputs the reference 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 access entry and identity authentication. Memory turns control how many previous dialogue turns can be referenced at most when answering. If the value is too small, the previous context cannot be used; if the value is too large, irrelevant content is brought in and consumption increases.
| Object | Check | Verification action |
|---|---|---|
| Project application form | Whether the name, quantity, and date are consistent with the budget application form and cooperation agreement | Check the project name and start and end dates of the same record in the three materials, and check whether signatures and receipts are complete |
| Budget application form | Whether the subject name, quantity, and date match the project application form and cooperation agreement | Check the subject name and quantity, check the preparation date and signature, and compare whether the versions are synchronized |
| Cooperation agreement | Whether the partner name, task division, and signing date are consistent with the project application form and budget application form | Check the partner name and signing date, check the seal and receipt, and confirm that when the version is not synchronized, the latest signed document prevails |
| Memory turns | Whether it matches the previous context range required by the question | Check the current value in the application settings, run a trial with two consecutive question turns, and compare the usage records of the two runs |
Three common errors
- Symptom: When the second question uses a reference, the answer does not address the question. Cause: The memory turns value is too small, and the previous context range does not cover the referent of the first question.
- Symptom: The name, quantity, and date of the same record do not match in two materials. Cause: The versions are not synchronized, and the old budget application form was not updated along with the project application form.
- Symptom: Responses become slower and consumption rises. Cause: The memory turns value is too large, bringing in irrelevant content and increasing consumption, and the opening message is treated as previous context.
How to verify the setup
Acceptance for this feature: Ask two consecutive follow-up questions and see whether the second question inherits the reference from the first question; check the memory turns value in the application settings, and check whether the historical range corresponding to chatId in messages and variables is consistent with the setting.
Business test: Access once with a restricted identity, see whether the visible scope matches the setting, and unauthorized access must not be visible.
- Check the current memory turns value in the application settings, run a trial with two consecutive question turns, and confirm that the second question can correctly inherit the reference from the first question.
- Compare the usage records of the two runs, check the reference range of
messages,variables, andchatId, and confirm that usage changes accordingly after adjusting the turns.