Skip to main content Skip to complementary content

Creating knowledge bases

Knowledge bases provide the unstructured data that assistants use to generate responses to user questions.

A knowledge base comprises one or more data sources. Data sources added to a knowledge base are indexed for use in assistants. You can reindex sources that have been updated, either manually or by scheduling a synchronization with the data source. For more information, see Indexing knowledge base data sources.

You can have five knowledge bases per assistant.

Supported file types and data sources

A knowledge base has the following data source limitations:

  • Maximum file size: 50 MB

  • Maximum number of files per knowledge base: 10,000

The following file types are supported as knowledge sources for Qlik Answers knowledge bases:

  • TXT

  • PDF

  • DOC, DOCX

  • PPTX

  • HTM, HTML

  • MD

  • ODT

  • RTF

The following connections are supported for accessing supported file types:

  • Amazon S3
  • Amazon S3 V2
  • Azure Storage
  • Dropbox
  • Google Cloud Storage
  • Office 365 Sharepoint
  • SFTP

Creating new knowledge bases

You can add data sources for the knowledge base during creation or add them later.

When adding data sources from connections, you can add files manually or select them dynamically. Dynamically selecting files allows you to select the folder within the connection to take files from. You can then use filter rules and regular expressions. Filter rules include:

  • Folder depth

  • Max files count

  • Max files per folder

  • Max file size

  • Modified after date

  1. Go to the Create page of the Analytics activity center and select Knowledge base.

  2. After Name, enter a name for your knowledge base.

  3. Optionally, after Description, enter a description for the knowledge base.

  4. After Space, select the destination space for the knowledge base.

  5. Optionally, after Tag, enter any tags you want to apply to the knowledge base.

  6. Click Create.

  7. Add data files to the knowledge base. You can:

    • Add files from a connection.

      Do the following:

      1. Click Use data connection.

      2. Select a data connection and click Next.

      3. To select files manually:

        1. Click Manual selection.

        2. Select the files to add and click Select.

      4. To select files dynamically:

        1. Click Dynamic rules.

        2. After Folder, select the folder.

        3. Either use the filter rules or add regular expression patterns to select which files to include.

        4. Click Select.

    • Add files from the catalog.

      Do the following:

      1. Click Choose from catalog.

      2. Select the files to add and click Select.

    • Upload files from your computer.

      Do the following:

      1. Click Browse and upload files.

      2. In Add new files to knowledge base, click Browse and import files.

      3. Drag and drop your data files into the dialog.

        Alternatively, click Browse and navigate to your data files.

      4. Select a destination space for the files.

      5. Click Upload.

    If you want to add data files later, close Add new files to knowledge base.

The files added to the knowledge base are ready to be indexed. For more information, see Indexing knowledge base data sources.

You can add additional data sources to the knowledge base. For more information, see Adding data sources to knowledge bases.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!