Hello,
I am using Pinecone’s new Assistant feature through their API and I am trying to add a file.
It works when I manually select a file but I need to pass the full file in somehow to the API. Right now the only way I can add a file is to manually select it in the setup but this wont work when a user is uploading their own files.
On my page I added a file uploader so when a button “upload” is clicked, the file uploader’s value, which is a file, is dynamically passed on to the API - this does not work unfortunately. Only when I ad a static file does it actually upload.
Any ideas on how I can fix this? Thank you in advance for your help!