# Content validation and correction

AIsuru gives you a powerful tool to continuously improve your Agent's knowledge by validating and correcting AI-generated content.

### Why is validating responses important?

Validating responses gives your Agent **a broader, richer knowledge base**: validated contents become part of your Agent's knowledge!

Adding new contents or [question variants](/en/agent-training/contents/manual-content-creation.md#question-variants) helps your Agent **more easily find the right answer to your users' questions**, improving their experience.

### Where do I validate responses?

1. Go to your Agent's management panel;
2. In the sidebar, click on  **Contents**;
3. Click on the "**AI-Generated**" tab.

### What can I do there?

In the table, you'll find all the questions users have asked that were answered by the generative AI. You'll see several buttons:

<table data-full-width="true"><thead><tr><th align="center">Button</th><th align="center">Description</th><th align="center">When to use it</th></tr></thead><tbody><tr><td align="center"> <strong>Find in conversation</strong></td><td align="center">Opens the conversation where the question was asked</td><td align="center">To better understand the context in which a question was asked</td></tr><tr><td align="center"> <strong>Confirm</strong></td><td align="center">Validates the question and the answer provided by the generative AI</td><td align="center">When all information is correct: question, answer, required topics, and role assignment</td></tr><tr><td align="center"> <strong>Add as question variant</strong></td><td align="center">Adds the user's question as a variant of an existing content</td><td align="center">If you already have a content that answers the user's question, but the Agent responded poorly</td></tr><tr><td align="center"> <strong>Edit</strong></td><td align="center">Opens a panel where you can fully edit the content before validating it</td><td align="center">If you want to change the question, the answer, or add customizations before validating</td></tr><tr><td align="center"> <strong>Delete</strong></td><td align="center">Removes the content from the table</td><td align="center">When there's no correct answer for a specific question, or the question isn't useful</td></tr></tbody></table>

*Note: AI-generated responses longer than 10,000 characters are not saved in this table.*

### Automatic context setting based on URL

AIsuru automatically remembers which page (URL) a question was asked from and sets it as a required topic. This lets the Agent give different responses depending on which page the user was on when they interacted with it.

For each content in the "AI-Generated" section, you'll find two required topics set automatically:

1. ROUTE:\[AGENT\_NAME];
2. PATHNAME:\[PATH\_LINK].

These topics let the Agent contextualize its responses based on where the question came from. **If you want to disable this feature, you'll need to remove both required topics when validating or editing the content**.

{% hint style="info" %} <mark style="color:blue;">Don't worry if you forget to remove the required topics:</mark> <mark style="color:blue;">**you'll get a warning before saving**</mark> <mark style="color:blue;">letting you know they're there.</mark>
{% endhint %}

### Duplicate contents

It's important that your Agent's contents aren't duplicated or contradictory: your contents should be clear and non-redundant.

### Final thoughts

Validating AI-generated responses is a crucial process for continuously improving your Agent's performance. By spending a little time on this regularly, you'll not only grow your assistant's knowledge base but also sharpen its accuracy and relevance. Pay attention to the automatic URL-based context: it enables more targeted responses, but can be disabled if it's not needed for your specific use case. Make the most of this tool to build an Agent that's always improving and aligned with your users' needs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aisuru.com/en/agent-training/contents/content-validation-and-correction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
