> ## 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

<Steps>
  <Step title="Open your chatbot">
    From **Chatbots**, click the chatbot you want to work on.
  </Step>

  <Step title="Open Sources">
    In the left sidebar, under **Main menu**, click **Sources**.
  </Step>

  <Step title="Open the Add tab">
    At the top are **Overview** and **Add**. Click **Add**. The first time, you
    confirm the one-off terms.
  </Step>
</Steps>

<Frame caption="Sources → Add. Choose how you want to add content.">
  <img src="https://mintcdn.com/chatwize-b26e5811/RuMGj4tlfho4YYoG/images/en-sources.png?fit=max&auto=format&n=RuMGj4tlfho4YYoG&q=85&s=d119a7104361e688fa06a58c6713dad5" alt="Chatwize sources page with the options to add a source" width="2880" height="1800" data-path="images/en-sources.png" />
</Frame>

## Ways to add content

<CardGroup cols={2}>
  <Card title="File" icon="file-arrow-up">
    Upload PDF, Word (.docx), Excel (.xlsx), text, Markdown, CSV or JSON, up to
    25 MB per file.
  </Card>

  <Card title="Website" icon="globe">
    Enter your site, Chatwize finds the pages and you tick which ones to add.
  </Card>

  <Card title="Web page" icon="link">
    One URL, Chatwize fetches the text and trains on it.
  </Card>

  <Card title="Sitemap" icon="sitemap">
    Paste a sitemap.xml. You see the pages found and choose which to add.
  </Card>

  <Card title="Questions and answers" icon="pen">
    Paste questions and answers; the chatbot learns them as an FAQ.
  </Card>
</CardGroup>

<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.
</Note>

## 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

<AccordionGroup>
  <Accordion title="Use structured content">
    Headings, short paragraphs and lists are easier to search than walls of text.
  </Accordion>

  <Accordion title="Keep it current">
    Is a source out of date? Update it or remove it under **Overview**, so the
    bot stops answering from it.
  </Accordion>

  <Accordion title="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>

  <Accordion title="Don't add everything">
    Irrelevant or duplicate pages dilute the results.
  </Accordion>
</AccordionGroup>

<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.
</Tip>
