> ## Documentation Index
> Fetch the complete documentation index at: https://docs.typewise.app/llms.txt
> Use this file to discover all available pages before exploring further.

# AI feedback

> Flag AI messages and actions to improve accuracy and identify areas for improvement

When an AI-generated message or action is incorrect or could be improved, you
can flag it with feedback. This helps improve the AI Agent over time and allows
admins to identify patterns in the
[Insights Hub](https://docs.typewise.app/documentation/insights-hub/overview.md).

This is different from
[conversation rating](https://docs.typewise.app/documentation/tickets/conversation-rating.md), which scores
the whole conversation from 1 to 5 rather than flagging a specific message or
action.

***

## What can be flagged

You can flag both:

* **AI messages**: Replies sent by the AI Agent to customers
* **AI actions**: Actions performed by the AI Agent (e.g., updating records,
  processing requests)

***

## How to flag

**1. Find the AI message or action**

In the ticket conversation, locate the AI-generated message or action event
you want to flag.

**2. Click the flag button**

Click the flag icon that appears when you hover over the item.

**3. Select feedback reasons**

Choose one or more reasons that describe what was wrong.

**4. Add additional context (optional)**

Provide any additional details that might help understand the issue.

**5. Submit feedback**

Click **Submit** to save your feedback.

***

## Feedback options

| Option | When to use |
| - | - |
| **Answer not relevant** | The response doesn't address the customer's question |
| **Answer included incorrect information** | The response contains factually wrong information |
| **Answer included confidential or internal content** | Internal-only information was shared with the customer |
| **Wrong or incorrect writing style** | The tone or style doesn't match your brand guidelines |
| **Did not follow instructions** | The AI ignored specific instructions from your Specialists |
| **Wrong language** | The response was in the wrong language |
| **An action should have been performed instead** | The AI should have taken an action rather than just replying |
| **Other** | Use this for issues not covered by the other options |

***

## How feedback is used

Your feedback serves two purposes:

1. **Improves the AI Agent**: Feedback helps identify patterns and improve AI
   accuracy over time
2. **Identifies weaknesses**: Flagged content appears in the
   [Insights Hub](https://docs.typewise.app/documentation/insights-hub/overview.md) under "Flagged content",
   grouped by Messages, Actions, and Cases

> [!TIP]
>
> Review the flagged content regularly in Insights Hub to identify patterns. If
> you see the same issues repeatedly, consider updating your
> [Specialists](https://docs.typewise.app/documentation/behavior/specialists.md) or [Knowledge
> sources](https://docs.typewise.app/documentation/knowledge/overview.md).

***

## See also

* [Conversation rating](https://docs.typewise.app/documentation/tickets/conversation-rating.md): Rate the
  overall quality of a conversation (1–5)
* [Insights Hub](https://docs.typewise.app/documentation/insights-hub/overview.md): View flagged content
  analytics
* [Handling wrong AI answers](https://docs.typewise.app/guides/best-practices/handling-wrong-ai-answers.md):
  Tips for improving AI accuracy


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.