A multistage classification approach divides a complex classification task into sequential decisions. Each stage can use narrower categories and be refined independently, improving control over difficult questions and edge cases. section 14.5.2
A practical routing pipeline can progressively narrow the classification:
- Refine each prompt with relevant background, boundary cases, examples, instructions, and an expected output format. section 14.5.2
Knowledge-graph question routing
A question about update frequency may be routed first to a broad category and then interpreted as Documentation-Related when it asks about a documented system feature. Ambiguous cases expose where prompts need more context.
