#PDF analysis.

6 messages · Page 1 of 1 (latest)

timid merlin
#

I'm learning OpenAI api and I want to build project where I can upload PDF and use api to analyse it and get some outputs based on it. What are the steps to achieve it?
I'm familiar with react so that would be the easiest way to built UI for me.
I don't want to "chat with the pdf".
I want it for example to get some values and use them to fill the UI

ionic junco
#

the API has no such fature, the part OAI services do are the aprt that handles the processing of the text, your system still has to somehow convert the PDF file into a text file

timid merlin
#

So converting PDF to text outside of OAI, then using this text to make api call ? Event if the text will be large?

ionic junco
#

the text can't be larger than the token limit of the model you use

timid merlin
#

Is there a walk around if it is too large ?

grim night
#

There's no easy way around trying to fit documents larger than the context window. You basically need to split the document and build a search system to find the right parts and assembed sources that fit within the context window.