# PDF support in Discourse AI (RAG)

**URL:** https://meta.discourse.org/t/pdf-support-in-discourse-ai-rag/352829
**Category:** Site Management
**Tags:** how-to, ai
**Created:** [February 18, 2025, 4:32am UTC](https://meta.discourse.org/t/pdf-support-in-discourse-ai-rag/352829 "2025-02-18T04:32:26Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![MachineScholar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/machinescholar/32/424719_2.png) [@MachineScholar](https://meta.discourse.org/u/MachineScholar)
#### Post date: [February 28, 2025, 12:01pm UTC](https://meta.discourse.org/t/pdf-support-in-discourse-ai-rag/352829/11 "2025-02-28T12:01:31Z")

</div>

Does it have to be enabled via console? Don’t see any advanced mode options via the UI.

Furthermore, I am getting an error when trying to upload this pdf. It is 34 MB but I have my max attachment size set to 100 MB (in both admin settings and app.yml). What’s strange is that I have a compressed version which is 16 MB and it uploads just fine. But perhaps the larger PDF is simply too complex for now? There are lots of images, equations, etc.

 ![Screenshot 2025-02-28 at 13.07.43](https://global.discourse-cdn.com/meta/original/4X/9/6/3/9630252808f737268ad6e6db1fda8e3f1dc207d9.png)

---

_[View the full topic](https://meta.discourse.org/t/pdf-support-in-discourse-ai-rag/352829)._
