> For the complete documentation index, see [llms.txt](https://docs.mercuri.cx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mercuri.cx/features/ai-assistants/faqs.md).

# FAQs

<details>

<summary><strong>How do I train the AI Assistant on the provided data?</strong></summary>

<figure><img src="https://392978341-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZtOBCP9JV8XEWJpUU4t%2Fuploads%2FNttBw7HthMpt6vJ2YmRi%2Fimage.png?alt=media&amp;token=575ee363-7bb9-4a97-8a16-5bff622b4484" alt=""><figcaption></figcaption></figure>

After adding your knowledge sources (Sitemaps, URLs, and FAQs), you can train the AI Assistant in two ways:

* From the agent card menu by clicking the **three-dot menu → Train Agent**
* From the agent card menu by clicking the **three-dot menu → Edit**, navigate to the **Settings** tab, and click **Train Agent**

<figure><img src="https://392978341-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZtOBCP9JV8XEWJpUU4t%2Fuploads%2FANEcWMrxxNHienWjTPT1%2Fimage.png?alt=media&amp;token=d5cb6a2f-c089-49b1-b079-8c44aafe008c" alt="" width="563"><figcaption></figcaption></figure>

The AI Assistant will then process and train on the provided data so it can use that information while responding to users.

> ⚠️ Whenever you update the knowledge base or FAQs, it is recommended to retrain the agent to apply the latest changes.

</details>

<details>

<summary><strong>How do I set the AI Assistant to Test or Live mode?</strong></summary>

<figure><img src="https://392978341-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZtOBCP9JV8XEWJpUU4t%2Fuploads%2FqibnSFqLtcxZTkF3WBYG%2Fimage.png?alt=media&amp;token=9612fa2f-db18-45d2-b543-c8a24469a8aa" alt=""><figcaption></figcaption></figure>

After training the AI Assistant, you can change its mode(Test / Live) from the agent card menu.

1. Go to the **AI Assistants** section
2. Locate the required agent card
3. Click the **three-dot menu** on the card

From here, you can select:

* **Set to Test** – The AI Assistant will only respond to the configured test phone numbers
* **Set to Live** – The AI Assistant will start responding to all users on the connected channels

> ⚠️ It is recommended to first test the AI Assistant in **Test Mode** before switching it to **Live Mode**.

</details>
