I’m not sure if this is the correct way to make a feature request, but I wanted to reference this post with Sam.
The idea is to allow users to upload PDFs or TXT files directly in chat and have the AI process and respond to questions about the content. It seems like much of the infrastructure is already in place, and it could add tremendous value for interactive discussions.
This is a perfect solution for countless organizations who run a Discourse instance. Furthermore, the AI plugin could get a global setting to allow/disallow document uploads to personas and the admin panel could get a new tab with some settings for chunking size, number of results, etc. which can be global or per-LLM. As you mentioned, it seems like much or even most of the code infrastructure already exists for this feature.