TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Chat with PDFs using function calling

4 pointsby bediashpreetover 1 year ago

1 comment

bediashpreetover 1 year ago
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:&#x2F;&#x2F;pdf.aidev.run" rel="nofollow">https:&#x2F;&#x2F;pdf.aidev.run</a><p>It intelligently figures out if:<p>&gt; The question needs retrieval or web search<p>&gt; If it needs retrieval, does it need to search the latest doc, a specific doc or all docs<p>&gt; Produces an answer with context.<p>Give it a spin at: <a href="https:&#x2F;&#x2F;pdf.aidev.run" rel="nofollow">https:&#x2F;&#x2F;pdf.aidev.run</a> and let me know what you think. Its a prototype so expect flaws, but if you share feedback i&#x27;ll make sure to improve it.<p>If you’re interested: - Here’s the code: <a href="https:&#x2F;&#x2F;github.com&#x2F;phidatahq&#x2F;ai-cookbook&#x2F;tree&#x2F;main&#x2F;pdf_ai">https:&#x2F;&#x2F;github.com&#x2F;phidatahq&#x2F;ai-cookbook&#x2F;tree&#x2F;main&#x2F;pdf_ai</a> - I used phidata to build this: <a href="https:&#x2F;&#x2F;github.com&#x2F;phidatahq&#x2F;phidata">https:&#x2F;&#x2F;github.com&#x2F;phidatahq&#x2F;phidata</a>