---
title: "Knowledge Base"
description: "Train an Advanced AI bot by uploading PDF, TXT, and DOCX files or crawling website pages, and manage your character quota."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.aminos.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge Base

Selecting **Knowledge Base** under **AI Knowledge Studio → Knowledge Source** turns your bot into an **Advanced AI (RAG)** assistant. Aminos breaks your files and web pages into chunks (~2,000 characters each), generates vector embeddings, and automatically retrieves the top 5 most relevant chunks for every visitor question.

## Upload documents

Under **Upload Files**, drop or select one or more files:

- **Supported file types:** `PDF`, `TXT`, and `DOCX`.
- **File size limit:** Up to **50 MB total** across uploaded files per bot.
- Before syncing, the dashboard previews the character count extracted from your PDFs and DOCX files so you can check how much of your quota they will use.

## Crawl a website or add specific URLs

Under **Add URLs**, you have two options:

- **Add URL:** Fetches a single web page.
- **Crawl Site:** Crawls starting from the URL you enter and discovers up to **30 pages** per crawl (with a 10-second per-page timeout, 20-second crawl budget, and 5 MB per-page cap).

:::note
Web pages must be publicly reachable over HTTP/HTTPS. Pages behind a login screen, blocked by a bot firewall, or rendered solely by heavy client-side JavaScript without readable text may return little or no content. If a site blocks automated crawlers, you can export its content as PDF/TXT/DOCX files or submit extracted text via [MCP](/mcp/tools).
:::

## Sync and monitor training status

1. **Review your storage meter**

   The storage bar at the top of the Knowledge Base section shows `used / limit characters`. Plans default to **500,000 characters per bot** (configurable up to **2,000,000 characters** per bot).
2. **Click Sync Knowledge Base**

   Click **Sync Knowledge Base**. Aminos saves your studio settings and queues a background indexing job.
3. **Wait for sources to reach Trained**

   The **Sources** table (10 sources per page) polls automatically while any source is **Processing**:
- **Processing:** Currently being fetched, chunked, and embedded.
- **Trained:** Live and searchable by your bot, showing **Last Synced** timestamp and **Characters**.
- **Failed:** Could not be read or fetched — remove the source, check the URL or file format, and re-add it.

## Removing or updating sources

- Click **Remove** next to any file or URL in the Sources table.
  - Uploaded files are removed immediately along with their vectors.
  - Removed URLs are staged and removed when you click **Sync Knowledge Base**.
- To refresh a website page whose content has changed, remove the old URL, re-add it, and click **Sync Knowledge Base**.

:::caution
Duplicating a bot or importing a shared bot does **not** copy trained Knowledge Base vectors. After duplicating or importing, re-upload your files or re-add your URLs and click **Sync Knowledge Base**.
:::

Source: https://docs.aminos.ai/ai/knowledge-base/index.mdx
