1 min read 1 mo ago

File Upload (PDF, PNG…)

Upload PDFs

If you want your users to be able to upload PDF files, you have 2 choices:

  • Use an OpenAI Assistant — Learn how to use Assistants. In AI Engine, you can enable the File Search option in your chatbot settings, which allows the assistant to accept files for discussion threads.
  • Use a Claude model — Claude models with vision enabled accept PDFs as if they were images, so you’ll be able to upload them and get a response.

Upload Images

For the vision-compatible model, a checkbox will appear—simply check it to enable an upload field in the chatbot, allowing you to upload image documents during chat.

Currently AI Engine only supports 1 media per message.

Uploaded media have to be stored on your WordPress server first so they can be sent through in the chatbot query. As for replies, if they contain a file or an image, that file also needs to be saved on your server so your users can download it.

You can go to Settings > Files and Media to modify how these files should be handled on your server.