> For the complete documentation index, see [llms.txt](https://docs.stammer.ai/stammer.ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/conversations/training-better-responses.md).

# Training Better Responses

Keep your chatbot's knowledge base up to date with how users are actually engaging with it.&#x20;

There are two ways to update the knowledge base with better responses.&#x20;

### Option 1: Chatbot Dashboard Tab

When you are using the chatbot inside your dashboard, you can ask it a question, observe the response and then if you don't like it then you can click the button "Train Better Response" and type in the appropriate response as you see fit.&#x20;

<figure><img src="/files/4yZqswaWvgtFP0Lc6mYq" alt=""><figcaption></figcaption></figure>

When you click save, the query and response will be added to the Q/A section of the knowledge base.&#x20;

<figure><img src="/files/6qzvWlqoZDtgxSOoe20Y" alt=""><figcaption></figcaption></figure>

### Option 2: Chatbot Conversations Tab

You can monitor the conversations your chatbot is having with customers and train better responses as needed from this window as well.&#x20;

This is useful to keep track of any answers that may be slightly "off".&#x20;

When you save a better response from this area, it is also saved to the Q/A section of the knowledge base.

<figure><img src="/files/2LzCoyMgiabAZy3Q0zfl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/conversations/training-better-responses.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
