Context
The Smart Router currently scores clusters using 4 signals (KV cache, session, load, latency). Phase 4 of the roadmap calls for semantic routing — routing based on prompt intent to select the optimal model class.
Problem
Different prompts need different models:
- Simple Q&A → small/fast model (7B)
- Complex reasoning → large model (70B)
- Code generation → code-specialized model
Proposed approach
- Add a lightweight classifier (or embedding similarity) in the Smart Router
- Classify incoming prompts into categories
- Route to the appropriate function/model class
- Fall back to user-specified model if explicit
Discussion
This is a design-level issue. Please share ideas and approaches before implementation.
Reference
Context
The Smart Router currently scores clusters using 4 signals (KV cache, session, load, latency). Phase 4 of the roadmap calls for semantic routing — routing based on prompt intent to select the optimal model class.
Problem
Different prompts need different models:
Proposed approach
Discussion
This is a design-level issue. Please share ideas and approaches before implementation.
Reference
control-plane/smart-router/main.go