#Looking for a way to feed various file types (.pdf, .docx, .csv, .html) to GPT-4 via API

1 messages · Page 1 of 1 (latest)

primal yacht
#

Hi, all! 👋

I've been pulling my hair out looking for a good solution that would allow me to let my app users upload any file type and convert it to text so that I can hand it over to the GPT-4 API to respond to. The Assistants API doesn't seem like the best route because my users are just doing one-off conversations with their files as context (example: "here's a .csv file, analyze it for me").

Does anyone have a good recommendation of how to do this? I found a decent OCR pdf converter... but can't find anything that does the other file formats.

Would be great if Code Interpreter were just built into the GPT-4 api. (Or maybe it is and I'm just missing it?)