What the data for this category looks like
Data for this category comes from official authoritative party building theoretical materials. These include the party constitution, internal party regulations, original speeches by leaders, and special study materials. Update timing adjusts with official material releases. There is no fixed cycle, but latest theoretical content is synced regularly. Single conversation data structure includes: session ID, user question content, AI-generated theoretical answer, associated theoretical original text fragments, conversation initiation time, user identity ID, and audit status field. Conversation content is counted in characters. Associated theoretical materials are counted as complete single documents.
Constraints imposed by these characteristics on conversation logs and auditing
Authoritative theoretical material updates require conversation logs to link to the corresponding version of theoretical original text fragments. Auditors can trace the exact material version used as a response basis, avoiding ambiguous references caused by material updates. The user identity ID field requires logs to isolate historical conversations by user. Different users can only view their own initiated session records. Theoretical Q&A response content must comply with party building publicity specifications. The auditing link must support retrieval by theoretical keywords and sensitive expressions. The complete question and answer chain must be retained, and key information cannot be deleted arbitrarily. Session ID must be uniquely bound to a single conversation. This ensures full process data for a single session can be accurately located during auditing.
How to set configurations
| Configuration Item | Recommended Setting | Rationale |
|---|
Reference only; verify against the target FastGPT release and deployment documentation.
| Isolate conversations by user | Enabled | Theoretical learning Q&A involves personalized learning progress for different users. Isolation ensures data privacy and audit accuracy |
| detail parameter toggle | Enabled | When enabled, complete associated theoretical original text fragments and session metadata can be obtained, meeting the full data requirements for audit tracing and API calls |
| chatId retrieval permission | Only administrators can perform cross-session retrieval | Protects user conversation privacy, while allowing auditors to quickly locate target records via session ID |
| responseChatItemId association toggle | Enabled | Binds individual responses to their corresponding session nodes, ensuring that the generation context of individual responses can be traced during audits |
| Code run log output path | Application backend log directory | Collects running logs of code modules in workflows centrally, facilitating full-chain auditing combined with conversation logs |
Three common misconfigurations
- Symptom: When calling the API to retrieve conversation records, the Human field is empty. Cause: The
detailparameter toggle is not enabled. The API returns conversation data that only includes simplified session IDs, and does not carry the user's original question content. - Symptom: Different users can view other people's historical learning conversations after logging in. Cause: The user isolation conversation permission is not configured. The system does not bind the association between user identities and conversation records, resulting in ineffective permission verification.
- Symptom: Console.log logs from workflow code modules cannot be found in the frontend or backend audit interface. Cause: Code run logs are not directed to the centralized audit directory. Logs are only output to temporary container directories, and are not synced to persistent log storage locations.
How to confirm configurations are properly set
- Initiate a test conversation, call the API to retrieve the records for that session, and check if the returned data includes complete user questions and AI response content. Confirm that the
detailparameter is active. - Initiate conversations using different test user identities, verify that only the current user can view their own historical conversation records. Confirm that the user isolation conversation configuration is active.
- Add a test console.log statement to a workflow code module, check if the corresponding output can be retrieved from the application backend's centralized log directory. Confirm that the log output path configuration is correct.
- Attempt to retrieve the full logs for a specified session via
chatId, confirm that the full chain data of the target conversation can be accurately located. Confirm that the session ID retrieval permission configuration is correct.
The values listed above are common starting points and should be evaluated against the reader's own samples.
Question material comes from public community discussions. Configuration values are common starting points and should be measured against your own samples. Verified on 2026-09-28.