Enterprise Generative Search — Azure and Open Source · View 04 of 41 · Context and scope
Decisions
- Classification happens before any expensive component runs, so the agentic path is a routing outcome rather than a default. This is the largest single cost control in the design.
- The ambiguous class does not generate at all. Answering a question the corpus cannot support is worse than saying so, and it is also the cheapest response the platform has.
- Class thresholds are configuration, not code, and are re-tuned against the golden set rather than by intuition.
Numbers
- Class mix from six months of intranet search logs plus a pilot: lookup 38%, explanatory 31%, multi-hop 11%, structured 9%, multimodal 6%, ambiguous 5%.
- Cost per class ranges from 0.004 USD for a cached lookup to 0.180 USD for a full agentic answer — a factor of 45.
- Classifier accuracy on a 900-query labelled set: 0.93 macro F1, with the ambiguous class deliberately biased towards recall.
Assumptions and risks
- A mis-classified multi-hop question answered as a lookup produces a confident, partial answer. Verification catches most of these; the abstain rate is watched as the signal that it is not.
- The class mix will drift as people learn what the platform can do. The routing policy is reviewed monthly against traffic, not set once.