# 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="https://1359281993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLIQnOFYHkQtdWxUzzFE%2Fuploads%2Fg2f8l6vq5dKkvz3NGixl%2FScreenshot%202024-03-21%20at%206.34.08%E2%80%AFPM.jpg?alt=media&#x26;token=b10136a7-95dc-4aee-90f5-be80ce25ba29" 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="https://1359281993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLIQnOFYHkQtdWxUzzFE%2Fuploads%2FKj3zZX6KsxO3NtLzoDOL%2FScreenshot%202024-03-21%20at%206.38.55%E2%80%AFPM.jpg?alt=media&#x26;token=f527c181-0dd8-4528-ba87-31ed3c690710" 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="https://1359281993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLIQnOFYHkQtdWxUzzFE%2Fuploads%2FaWWgYuV9r3z1cczObNFH%2FScreenshot%202024-03-21%20at%206.39.34%E2%80%AFPM.jpg?alt=media&#x26;token=b21ad7e4-c916-4741-9c19-801562bded42" alt=""><figcaption></figcaption></figure>


---

# 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.stammer.ai/stammer.ai-docs/chat-ai-agents/conversations/training-better-responses.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.
