This was pretty bad for me, I tried asking the name of a person references in the PDF and it couldn't find it. I asked who is the claimant in this PDF and it said the claimant was empty. But if I asked if the claimant name was in the PDF it answered yes. I am assuming the PDF to Text is not working great here, which I supposed is the whole point.
ChatPDF – Chat with Any PDF
91–100 of 141 posts
Re: ChatPDF – Chat with Any PDF
#92IMO folks are better off deploying their own version where they can adjust a few knobs (e.g. split chunk size) to get better results, given that PDF Q&A is such a commodity application. Wrote a https://github.com/angad/dharamshala/blob/main/docs.py return_source_documents is particularly helpful to get a sense of what is being sent in the prompt.
Consider adding a bit of overlap to the text chunks. Say, 300 tokens: text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=300) Otherwise, you'll likely end up with too many edge cases in which only part of a relevant context is retrieved :-)
Re: ChatPDF – Chat with Any PDF
#93Earlier quoted context omitted.
You might not dump your internal documentation or confidential files to it, but I can see something like this being very useful if you can chuck a user manual for a product into it and ask common-sense questions about the product. So many parts these days come with a multi-hundred-page, questionably-written manual that technically does contain all the required information but buries it in waffle.
Or for legal contracts ... though no-one is going to go there with a commercial product unless they can indemnify themselves somehow against erroneous answers.
Re: ChatPDF – Chat with Any PDF
#944th submission in 3 weeks
Re: ChatPDF – Chat with Any PDF
#95Just upload all your bills and credit card data.
Re: ChatPDF – Chat with Any PDF
#96How are you solving for PDFs that are too large to fit in the token context? I know of a few approaches for that: - Ignore the problem and let it hallucinate answers to anything that's not in the first 5-10 pages - Attempt to recursively summarize the PDF at the start - so summarize e.g. pages 1-3, then 4-6 etc, then if the resulting summaries are still too long for the context window run a summary of those summaries…
Re: ChatPDF – Chat with Any PDF
#97Re: ChatPDF – Chat with Any PDF
#98How are you solving for PDFs that are too large to fit in the token context? I know of a few approaches for that: - Ignore the problem and let it hallucinate answers to anything that's not in the first 5-10 pages - Attempt to recursively summarize the PDF at the start - so summarize e.g. pages 1-3, then 4-6 etc, then if the resulting summaries are still too long for the context window run a summary of those summaries…
I can answer for my site ( https://docalysis.com/ ) which does a semantic search to figure out which parts of the document are most relevant. Then you just use those parts. Docalysis also shows you the PDF side-by-side, has page numbers, and overall responses are of better quality according to users that have emailed comparisons to ChatPDF.
Re: ChatPDF – Chat with Any PDF
#99Other possibilities to fuel the ChatGPT hype train... ChatPNG - apply OCR to an image, extract text, feed it to GPT. ChatMP3 - apply speech-to-text to a recording, feed it to GPT. ChatGPS - hmm. not sure yet. something location-based obviously... If any VC's are interested, I'm selling 10% stake in these projects for only $20k right now. /s
Forget that I'm currently selling NFTs for these projects-- ChatTXT - extract text from plain text files and feed it to GPT for analysis. ChatPDF - extract text from a PDF document and feed it to GPT for analysis. ChatDOC - extract text from a Microsoft Word document and feed it to GPT for analysis. ChatDOCX - extract text from a Microsoft Word document and feed it to GPT for analysis. ChatPPT - extract text from a M…
Re: ChatPDF – Chat with Any PDF
#100Other possibilities to fuel the ChatGPT hype train... ChatPNG - apply OCR to an image, extract text, feed it to GPT. ChatMP3 - apply speech-to-text to a recording, feed it to GPT. ChatGPS - hmm. not sure yet. something location-based obviously... If any VC's are interested, I'm selling 10% stake in these projects for only $20k right now. /s
After the success of ColorGPT ( https://twitter.com/TheRundownAI/status/1640054184635449344 ) I don't think you need to bother with actually getting any AI into your app, just make sure the name ends with GPT.
> It uses ChatGPT API to generate color name from color hex.
It does use ChatGPT, but yeah, I get the sentiment.