# Bot Learns from Conversations

To enable this feature, go to **Bot Settings → Learning from Conversation**, and make sure the toggle is turned on.\
Once enabled, there are two ways for your bot to learn.

***

<figure><img src="https://storage.cxgenie.ai/files/80fe58599e3efab4ff493b51d317a6a3.png" alt=""><figcaption><p>Learning from Conversation</p></figcaption></figure>

### 1. Learn Immediately

#### How it works

When this option is turned on, the bot automatically learns from a conversation right after it ends.\
The system extracts useful questions, answers, and related details, then adds them directly to the bot’s knowledge base.

#### When to use

Use this option if you want the bot to improve quickly without manual review.\
It’s fully automatic and requires no team involvement.

***

### 2. Learn After Review

#### How it works

When this option is selected, the bot will not learn automatically.\
Instead, a team member can review each conversation and decide which information should be added to the bot’s knowledge.

#### When to use

This option helps maintain accuracy and control.\
It is suitable for teams that want to ensure only correct and relevant content is saved.

***

### Recommendation

We recommend using **Learn After Review** to keep your bot’s knowledge base clean, accurate, and trustworthy.


---

# 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://documents.cxgenie.ai/getting-started/knowledge-base/bot-learns-from-conversations.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.
