100% accuracy is not every little thing. The true worth is in permitting the consumer to navigate inside the doc
Which means constructing a RAG system or utilizing LLM to talk together with your docs. However customers typically ask, “How can I belief the reply?”
Moreover, we regularly hear about hallucinations that undermine consumer belief.
If you happen to construct an utility however cannot present the consumer the place the solutions are coming from, your utility might grow to be unusable.
This text presents an method to deal with this concern. Construct transparency and belief by linking all solutions generated by LLM to the supply textual content in your doc. This technique not solely offers clear proof for the reply, but in addition permits customers to see the outcomes straight inside the PDF.
In some circumstances, the generated reply might not be fully correct, but when the right supply textual content might be discovered, it’s already helpful to the consumer.
Let’s take an instance this paper From arxiv.org. You possibly can think about this use case as follows.
Step one on this method is to extract the textual content from the PDF in a structured format.

