Logs, privacy and feedback
Log every model call with its versions and cost. Keep prompt text briefly and apart, collect feedback and train only on data people agreed to.
- Required 3
- Recommended 1
Required
Log every model call
RequiredWrite one structured log line per model call. It holds the feature, request ID, prompt ID and version, model version, tokens, cost, latency, ending and outcome.
Keep prompt and answer text briefly and apart
RequiredStore the text of prompts and answers apart from other logs, with personal data masked and access limited to named people. Delete it automatically after a set time, such as 30 days.
Train only on data people agreed to share
RequiredUse customer prompts, answers or documents to train a model only with a recorded legal basis, such as consent. Never send them to a provider that trains on them by default.
Recommended
Collect feedback on every answer
RecommendedPut a thumbs up, thumbs down and optional reason next to every AI answer, and store it with the call ID. Triage thumbs-down items every week.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers ai features playbook: https://agentwranglers.se/playbook/ai-features/logs-privacy-and-feedback.