Data sources

File

💡
The file data source allows you to upload PDFs, CSVs, HTML, MHT, Markdown, JSON, DOCXs, EPUB and text files to power your bots.

Supported file types

The file data source allows you to upload many different types of files to use as the knowledge base for you bot. Currently we support uploading and parsing the following types of files: .csv, .pdf, .json, .md, .html, .mht, .docx, .txt, .zip and .epub file formats.

We are always adding more file types, if there is one you need, let us know!

File data source quick start

Adding a file data source

Navigate to the Data sources tab on your bot's dashboard page to add a file data source.

  1. Click the “Add” button in the “Upload” data source box. Xnapper-2023-06-21-15.43.19.png
  2. In the file data source settings window that appears, click the “Select files” button to choose the files you want to upload. Xnapper-2023-06-21-15.44.07.png
  3. Drag the files you want to upload into the box. Xnapper-2023-06-21-15.44.33.png
  4. You should see your files listed on the next page. You can add more files, or if you are happy, click the “Update & sync data source” button to begin uploading. You will see the progress bar below begin to move. file.png file-card.png

Are my files secure?

When you use the file upload data source, we upload your files securely into our storage. We use a Supabase private storage bucket to store your files: https://supabase.com/docs/guides/storage

This means they are kept privately and are only accessible internally by our API so we can parse their contents and make it available to your bot. We only access your files during synchronisation.

When you delete the file data source or delete your bot, we delete all of your files forever.