Lesson 10 · path 5
Combine patterns in code
Four patterns to mix and match: intent routing, composite scoring, confidence-gated routing, and fan-out. Instructions and criteria can also take JSON.
Patterns you can combine
These patterns are like Lego bricks. Each brick is simple on its own. You snap them together in code to build something bigger.
- Intent routing. Classify the request, then route it to fixed rules, a specialist LLM, or a human (Intent routing).
- Composite scoring. Run small, atomic Scores, then weight and combine them in code (Composite scoring).
- Confidence-gated routing. The answer is the what. Confidence is the whether to act (Confidence-gated routing).
- Fan-out. Many questions in one call (Fan-out).
Going further: instructions and criteria can also accept JSON structure (Advanced).
Next
SDK labs, then pick a use-case.