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

# Knowledge base

> Give your chatbot the content it answers from.

Your chatbot answers from the content you give it. In Chatwize that's the
**Sources** section.

## Where to find it

**1. Open your chatbot**

From **Chatbots**, click the chatbot you want to work on.

**2. Open Sources**

In the left sidebar, under **Main menu**, click **Sources**.

**3. Open the Add tab**

At the top are **Overview** and **Add**. Click **Add**. The first time, you
confirm the one-off terms.

![Chatwize sources page with the options to add a source](https://mintcdn.com/chatwize-b26e5811/RuMGj4tlfho4YYoG/images/en-sources.png?fit=max\&auto=format\&n=RuMGj4tlfho4YYoG\&q=85\&s=d119a7104361e688fa06a58c6713dad5)

Sources → Add. Choose how you want to add content.

## Ways to add content

> [card] File
>
> Upload PDF, Word (.docx), Excel (.xlsx), text, Markdown, CSV or JSON, up to
> 25 MB per file.

> [card] Website
>
> Enter your site, Chatwize finds the pages and you tick which ones to add.

> [card] Web page
>
> One URL, Chatwize fetches the text and trains on it.

> [card] Sitemap
>
> Paste a sitemap.xml. You see the pages found and choose which to add.

> [card] Questions and answers
>
> Paste questions and answers; the chatbot learns them as an FAQ.

> [!NOTE]
>
> Only the modern Office formats work: **.docx** and **.xlsx**. The old `.doc` and
> `.xls` files are rejected; re-save those in the new format first.

## Managing sources

Your sources appear under the **Overview** tab once they're processed. That's
also where you delete them, or download the original document again. Your usage
and what's left is shown at the bottom of the left sidebar.

## Keeping answers accurate

> [accordion] Use structured content
>
> Headings, short paragraphs and lists are easier to search than walls of text.

> [accordion] Keep it current
>
> Is a source out of date? Update it or remove it under **Overview**, so the
> bot stops answering from it.

> [accordion] Add question-and-answer pairs
>
> If your website doesn't clearly answer a common question, add a
> **question-and-answer pair** for it. That's the fastest way to fix a weak
> answer.

> [accordion] Don't add everything
>
> Irrelevant or duplicate pages dilute the results.

> [!TIP]
>
> Saw an answer in the **Inbox** that could be better? You can improve it there and
> add the improved answer straight to your knowledge base as a question-and-answer
> pair.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.