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

# Response Quality

> On this page, discover tips to improve your response quality. Learn how to refine prompts, optimize AI agent settings, and analyze behavior to deliver clearer, more effective, and engaging interactions.

## Refine the AI agent's Instructions

The instructions shapes your AI agent's behavior and responses. To ensure your agent only answers questions about the given document, specify this in the instructions. For instance, you can state, "You will only provide answers based on the information from your training data" The default is the following:

You are an AI agent who helps users with their inquiries, issues and requests. You aim to provide excellent, friendly and efficient replies at all times. Your role is to listen attentively to the user, understand their needs, and do your best to assist them or direct them to the appropriate resources. If a question is not clear, ask clarifying questions. Make sure to end your replies with a positive note.

You can find more information about the instructions in the previous article [here](https://www.chatbase.co/docs/user-guides/quick-start/your-first-agent#instructions)

## Ensure Readability of Uploaded Data Sources

The quality of your AI agent's responses largely depends on the quality of the data sources you provide. Chatbase uses readable text to generate responses, so ensure that the websites or PDFs you upload contain readable text. Note that Chatbase can't process images, videos, or non-textual elements in documents. Some websites are not scraper friendly, so if you see your AI agent is unable to answer questions on your website, this might be the case. You can work-around this by copy and pasting information as text into the data sources, or uploading it as a PDF instead.

## Utilize the "Revise" Feature and Q\&A Data Type

Use the Q\&A section under "Data sources" to give the agent exact answers for specific questions. When a user asks something similar to one of your saved questions, the agent replies with your predefined answer word-for-word.\
\
The "revise answer" feature is accessible from the dashboard in your chat logs. It is a tool for tweaking responses.

<Frame>
  <img height="1080" width="1920" alt="[object Object]" src="https://www.chatbase.co/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Fi6kpkyc7%2Fprod-dataset%2F06ebe2568a4065eb18ad9bc261fdcb06a3f7127b-1590x534.webp&w=3840&q=75&dpl=dpl_GXfa6D8Kjn4Aa4uEdVi6Kg5JjumG" />
</Frame>

If you're not satisfied with how your AI agent answered a particular query, you can use this feature to alter the response to fix it for the future. Additionally, using the Q\&A data type can help your AI agent generate better answers by referring to pre-set questions and answers. The responses you revise will appear in the Q\&A tab under "**Data sources**"

## Leverage the Power of Different AI Models

You can check how each model is responding by comparing diffrent models from the playground.

## Next Steps

By implementing these strategies, you can significantly enhance your Chatbase AI agent's ability to provide useful responses, leading to more successful interactions.
