set_ai_error
Record and correct AI agent errors in responses or behavior to improve accuracy and compliance with established rules.
Instructions
Record AI Correction — Record a mistake in YOUR OWN responses or behavior (this dashboard chat). Call this when the user corrects you, AND when you proactively detect you did something wrong. This includes: wrong answers and behavioral rules about HOW you should act. IMPORTANT: This is for YOUR errors. For errors in the CONTENT of responses sent to customers by the WhatsApp AI, use set_customer_ai_error instead. [mutation]
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact_content | Yes | The correct information or rule to remember | |
| category | Yes | Category: shipping, pricing, warranty, product, tone, policy, communication, general | |
| original_text | No | What the AI originally said wrong |