What are best practices for handling file attachment support and attachment processing?
Right now we have a separate component from Mastra to handle file upload to S3. In the input processor we are creating custom code to handle PDF, Word Doc that converts that into markdown and then into Mastra for processing. Is that the best approach if our goal is to be able to incorporate a file into a query with the LLM?