I have had some luck with that.
I use the Assistant API, which I believe is not the same thing GPTs. I have played with it through the web interface.
I had 100+ PDF:s files that were OCR:ed with Tesseract. I then had ChatGPT write a script that combines all files in to a single txt-file keeping the layout.
I uploaded the file and started asking questions. The files contains highly technical data regarding building codes in non English so I am guessing the model isn’t so used to that type of language?
Anyway, it worked surprisingly good. It was able to answer questions and the answers were good. Plus that it is supposed to annotate from where it took the answer, although I didn’t get that to work properly.
I tried to upload PDF:s, JSON-files, CSV:s. Raw text has worked best so far.