Urgent.News

What's breaking now, across thousands of outlets.

Tech

Tool Selection at Scale: What Top-K RAG Leaves Out

Embed, retrieve, let the LLM decide works for about 100 tools. At 1,000 it needs a control plane: hybrid retrieval, hard filters, a learned reranker, progressive disclosure and per-stage evals. This is an adapted edition of the original article. It preserves the section argument and evidence; use the source link for the published version and any interactive material. Read the original article 01…

The article discusses the limitations of the "embed, retrieve, decide and validate" pipeline when dealing with a large number of tools, specifically at the 1,000 tool scale. The author argues that retrieval becomes an essential part of the process rather than just an optimization step. They compare this to the baseline pipeline's limitation to a single top-10 embedding lookup, which rarely misses at 100 tools but becomes necessary at 1,000 tools. The key points include:

1. Tools are not just categories but have side effects such as sending emails, deleting records, or charging cards. Tool selection involves more than simple category classification.

2. Retrieval helps control the context and improve accuracy, rather than just serving as a knowledge source. Position effects in long contexts can negatively impact accuracy.

3. The recall chain is not a single number but the product of conditional recalls at each stage: retrieval, filtering, reranking, and selection. Improving retrieval can significantly boost overall performance.

4. The focus should be on controlling the decision space, exposing the smallest context that still contains the right tool, rather than just maximizing retrieval recall.

5. Measuring performance at each stage of the pipeline is crucial to identify which stage is the weakest link and requires tuning.

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 Learn React Hooks (and Stop Fighting useEffect)

The first React app I wrote with hooks had a useEffect that fetched a user profile. It worked on the first load. Then I added the user ID to the dependency array because the linter told me to, and the…

  • Start by understanding what a render is in React hooks.
  • Use the updater form of useState for dependent state values.
  • Properly use the dependency array in useEffect to avoid stale data.

Ofrenda: A Remembrance Builder That Never Leaves Your Laptop (clear, and states the open-source angle right away)

What I Built Every family has a few people whose stories only exist in someone’s head. A grandmother who hummed while she cooked. An uncle with one phrase he said at every dinner.

  • Ofrenda is an open-source tool for creating personalized remembrances.
  • Users input details about loved ones, which a local Gemma model uses to generate drafts.
  • Completed remembrances are exported as standalone HTML files with photos and animated candles.

Why I Separated MIB Compilation from SNMP Execution in Python

Why I Separated MIB Compilation from SNMP Execution in Python When I began building network-management tools, I wasn't planning to write a MIB compiler or implement an SNMP runtime.

  • Author separated MIB compilation and SNMP execution into distinct components
  • Chose JSON as primary MIB artifact for stable, portable data contract
  • Created Trishul SNMP, asynchronous manager independent of Trishul SMI

More from Sunday 1 November →