how to create a temporary file
i need to create a file on backend, in Nextjs, i have the ability to create a file using
fs
module on /tmp
dir. Is there a way to do the same on convex?
how do i run fs.createWriteStream
?4 Replies
You can create a Blob. What are you trying to achieve, why do you need a file?
i want to create a .jsonl file for open ai batch request. i previously used this snippet to achieve this on next backend
im not so sure how to achieve the same with convex
Can you try
hey @ibrahimyaacob sorry taking a while to response to this, i can only work on my side project on weekends, your solution works like charm
many thanks!