Search and browse help

How to train a chatbot with PDF, DOCX, or TXT files

Add the source, apply your changes, and verify your chatbot’s answers.

Use a text-based PDF, DOCX, or TXT file up to 10 MB. Check that you can select and copy its text. Remove outdated prices and private information before uploading.

Add the source

Open your chatbot and its training page.

  1. Open Files.
  2. Click Drop files here or click to upload.
  3. Select your file.
  4. Wait for extraction to finish.
Upload a training file
Upload a training file — local demo account.

Apply the changes

  1. Wait for any pending file or URL preparation to finish.
  2. Click Retrain agent.
  3. Wait for training to finish.
  4. Open Sandbox.
  5. Ask a question answered by the source.
  6. Check that the reply uses the new information.

If training is blocked

Check your plan’s character limit. Reduce or exclude duplicate content if you exceeded it. If an answer is missing, check that the source contains the full fact and test again.