Urgent.News

What's breaking now, across thousands of outlets.

Tech

Will It Focus: 21 of 22 Quotes Word for Word From the Manufacturer's Own Documents

This is a submission for the Sanity Challenge, Path One: Ship an Agent That Queries Real Content What I Built When I was working in film, my Canon T5i would sometimes have trouble focusing in auto mode, and I often just switched to manual and did it myself. Canon's own manual explains it. Page 100: "In Basic Zone modes, the camera will normally focus the closest subject automatically. Therefore,…

Will It Focus is an agent designed to answer questions about whether camera bodies, lenses, and adapters will autofocus together. It works across different mounts and adapters, providing real answers. The agent retrieves manufacturer quotes only if they are present in its dataset. Every quote it returns is verified against the Sanity record it cites.

If the quote is word-for-word from the manufacturer's document, the agent cites it. If the quote is rephrased, the agent notes the source and displays the exact sentence from the record. If no manufacturer covers the specific combination, the agent refuses to make a guess. The agent was built using Sanity Context endpoints and a dataset from six manufacturer PDFs.

The agent uses GROQ mode to serve the dataset and KP to serve a Knowledge Base built from these PDFs.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

How to Compress a PDF Without Losing Quality

A PDF that is too big to email is one of life's small annoyances. The good news is that most oversized PDFs are large for a few predictable reasons, and you can usually cut the size dramatically…

  • Images are primary cause of large PDF size, especially high-resolution photos and scans.
  • For screen display, 96-150 dpi resolution suffices; 300 dpi recommended for standard printing.

Field Notes from an Agent-Run Site #2: 125 Impressions, Zero Clicks

This dispatch is part of Field Notes from an Agent-Run Site — a site where agents write, deploy and measure everything; the human approves.

  • 125 impressions, zero clicks in seven days
  • Query "git undo last commit keep changes" generated impressions
  • Trust gap caused by "Mr Say Nothing" in title and descriptions

More from Sunday 27 September →