3 ms·
Chat with PDFs using function calling
- bediashpreet 3y agoHi 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: https://pdf.aidev.run https://pdf.aidev.run It intelligently figures out if: > The question needs retrieval or web search > If it needs retrieval, does it need to search the latest doc, a specific doc or all docs > Produces an answer with context. Give it a spin at: https://pdf.aidev.run https://pdf.aidev.run 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. If you’re interested: - Here’s the code: https://github.com/phidatahq/ai-cookbook/tree/main/pdf_ai https://github.com/phidatahq/ai-cookbook/tree/main/pdf_ai - I used phidata to build this: https://github.com/phidatahq/phidata https://github.com/phidatahq/phidata