Train your bot

Documents and uploads

Add PDFs and documents for the answers that are not on your website.

Uploads cover what the site does not: price lists, policy documents, onboarding guides, anything internal that support needs to quote accurately.

The upload flow

Uploads go directly to storage rather than through the API process:

Request an upload

The API returns a destination for the file.

Send the file

The file goes straight to storage. Large documents do not tie up an API worker.

Complete

Completing the upload queues the document for chunking and embedding.

Processing

Chunking and embedding happen in a background worker. A document appears in the source list immediately and becomes answerable once processing finishes.

What makes a good upload

Text, not scans. A PDF that is a photograph of a page has no extractable text: it will upload, process, and contribute nothing. Run OCR first if that is what you have.

On this page