# Overview

AI Configuration is where you set up everything your AI agent needs to provide accurate, on-brand responses. Access these settings by clicking **AI Settings** in the sidebar.

## Knowledge Base

Build your AI's knowledge by connecting data sources. Alhena learns from your content to answer customer questions accurately.

* [Data Sources](/docs/ai-configuration/data-sources.md) - Connect websites, documents, help desk tickets, and more

## Tuning

Customize how your AI responds to match your brand voice and business rules.

* [Tuning Your AI](/docs/ai-configuration/tuning.md) - Guidelines, personality, FAQs, and human feedback
* [Training FAQ](/docs/ai-configuration/training-faq.md) - Common questions about training

## Agents

Configure specialized agents that handle different types of customer interactions.

* [Agents Overview](/docs/ai-configuration/agents.md) - How multi-agent routing works
* [Built-in Agents](/docs/ai-configuration/agents/built-in-agents.md) - Pre-configured agents for common scenarios
* [Custom Agents](/docs/ai-configuration/agents/custom-agents.md) - Create agents for your specific business needs
* [Agent Tools](/docs/ai-configuration/agents/tools.md) - Connect agents to APIs, MCP servers, and spreadsheets

***

## Training Your AI

After connecting data sources, train your AI to learn from the content:

1. Click **AI Settings** in the sidebar
2. Connect all required sources for your knowledge base
3. Click **Train/Retrain AI Agent**

<figure><img src="/files/gkOIMD1JG8DRR0KqGqDR" alt=""><figcaption></figcaption></figure>

### Incremental Training

Incremental training updates your AI agent by only processing the newest data sources you've added:

1. **Add New Source:** In the "Add sources to your knowledge base" section, enter the URL of your new content and click **Add Link**.
2. **Select Source:** Once the new URL appears in the "AI agent's knowledge base" table, check the box next to it.
3. **Initiate Incremental Training:** Click **Retrain Selected** to train the AI agent on only the selected source(s).

<figure><img src="/files/gy50z8x1dRSHN1Ie0Z11" alt=""><figcaption></figcaption></figure>

### Removing URLs from Training

To remove a URL from your bot's knowledge:

1. Search for the URL in the Parent URL column or through the Actions dropdown (View Ingested URLs).
2. Select the URL you want to remove and click **Delete**.

> There's no need to retrain after removing URLs. The changes apply automatically, and future training will not include data from deleted URLs.

### Training Frequency

For paid customers, the default automatic training frequency is every 7 days. You can also choose monthly training. There is no limit on the number of trainings per month.


---

# 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://alhena.gitbook.io/docs/ai-configuration/ai-configuration.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.
