The community member is using a web app with SvelteKit on the frontend and FastAPI on the backend, where users upload files. The community member is trying to use the LlamaParse library, but it only accepts file paths as input, and the community member does not want to create temporary files just to send them. One community member suggests that the LlamaParse Python client allows passing in the file bytes, which could be a potential solution.
user uploads the file and gets sent to the backend as an UploadFile. from what I have seen LlamaParse only accepts file paths as an input and I don't really want to be making temp files just to send them
Have not found any alternative solution from just creating temp files. I have implemented temp files for the time being however if anyone knows a better solution let me know please π