|
|
|
|
|
by angadsg
1153 days ago
|
|
IMO 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 <50 lines version with LangChain to run on your terminal with any folder full of PDF documents - 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. |
|