# Knowledge — Train Your Chatbot

The Knowledge tab is where you add content sources and train the chatbot. There are three source types: your own Webflow pages, external URLs, and uploaded files.

***

## Internal Pages (Your Webflow Site)

1. Open the **Knowledge** tab and select the **Internal** sub-tab.
2. Select the pages you want to train on, or select all.
3. Click **Train**.

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

Pages move through statuses in real time: **Discovered → Processing → Trained**. You can always remove pages from knowledge base by hitting **Reset** button on single rows or bulk reset by selecting items according to your need.

***

## External URLs

1. Select the **External** sub-tab.
2. Enter your domain and click **Fetch Sitemap**. The app discovers all published pages automatically.
3. Paste any URL — a documentation page, product page, or support article.
4. Click **Add**, then **Train**.
5. You can filter by status, search by URL, or use include/exclude patterns to find specific entries.

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

To add many URLs at once, use the **JSON import** option and paste an array of URLs.

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

***

## File Uploads

1. Select the **Files** sub-tab.
2. Upload a PDF, CSV, TXT, or HTML file (max 2 MB).
3. Click **Train**.

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

The same pipeline runs for all sources: the content is scraped or read, split into chunks, embedded, and stored for retrieval.

***

## Training Limits

* Maximum 10 sources selected per training run.
* File size limit: 2 MB per file.
* Supported file types: PDF, CSV, TXT, HTML.


---

# 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.flowappz.com/home/webflow-ai-chatbot/04.-knowledge.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.
