# Will RAG Support PDF Files in the Future?

**URL:** https://meta.discourse.org/t/will-rag-support-pdf-files-in-the-future/335804
**Category:** Feature
**Tags:** completed, ai, ai-bot
**Created:** [September 30, 2024, 5:35pm UTC](https://meta.discourse.org/t/will-rag-support-pdf-files-in-the-future/335804 "2024-09-30T17:35:55Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![Yenwod](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yenwod/32/275165_2.png) [@Yenwod](https://meta.discourse.org/u/Yenwod)
#### Post date: [February 14, 2025, 5:35pm UTC](https://meta.discourse.org/t/will-rag-support-pdf-files-in-the-future/335804/15 "2025-02-14T17:35:29Z")

</div>

The job is running but experiencing a bug:

> Jobs::HandledExceptionWrapper: Wrapped NameError: undefined local variable or method `temp\_dir’ for an instance of DiscourseAi::Utils::PdfToImages

 ![Screen Shot 2025-02-14 at 12.31.59 PM](https://global.discourse-cdn.com/meta/original/4X/2/c/8/2c826c2b6ffd9647dc1210cf8d0ec9a9d0b0a4d2.jpeg)

I self-host. Perhaps this is something I can dig deeper into?

---

_[View the full topic](https://meta.discourse.org/t/will-rag-support-pdf-files-in-the-future/335804)._
