# 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:** 13

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [February 28, 2025, 11:48pm UTC](https://meta.discourse.org/t/pdf-support-in-discourse-ai-rag/352829/13 "2025-02-28T23:48:11Z")

</div>

> [@MachineScholar](#):
>
> 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)

my guess here is that some nginx stuff needs to change in the container as well so it does not do the rejecting

---

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