Uploading Document

Dear team,

I want to enable people to communicate with the models they create using RAG with the documents they upload. I am saving the files to a Supabase bucket. How can I transfer them to Pinecone? Does this process need to be done on the NextJS side? Most importantly, when using Pinecone, do I need to parse the files uploaded by users?