Hi HN, chat with PDFs is the first AI App everyone builds but quickly we realize that basic prompt stuffing doesn’t work. So I put together a PDF AI that uses function calling: <a href="https://pdf.aidev.run" rel="nofollow">https://pdf.aidev.run</a><p>It intelligently figures out if:<p>> The question needs retrieval or web search<p>> If it needs retrieval, does it need to search the latest doc, a specific doc or all docs<p>> Produces an answer with context.<p>Give it a spin at: <a href="https://pdf.aidev.run" rel="nofollow">https://pdf.aidev.run</a> and let me know what you think. Its a prototype so expect flaws, but if you share feedback i'll make sure to improve it.<p>If you’re interested:
- Here’s the code: <a href="https://github.com/phidatahq/ai-cookbook/tree/main/pdf_ai">https://github.com/phidatahq/ai-cookbook/tree/main/pdf_ai</a>
- I used phidata to build this: <a href="https://github.com/phidatahq/phidata">https://github.com/phidatahq/phidata</a>