Preference Signal
Overview
preference infers response-style preferences from examples and classifier
settings. Define preference rules under routing.signals.preferences.
This family is learned: it uses the preference-classification path under global.model_catalog.modules.classifier.preference.
global.model_catalog.modules.classifier.preference.use_contrastive defaults
to true. Set it to false only when you intentionally want the alternative
classifier path.
Key Advantages
- Personalizes routing without hard-coding user state into decisions.
- Keeps preference detection separate from route outcomes.
- Supports example-driven style detection such as terse vs detailed answers.
- Reuses one preference policy across multiple decisions.
What Problem Does It Solve?
Users often want different response styles even when they ask about the same topic. If those preferences are only handled downstream, routing cannot choose the most suitable model or plugin stack.
preference solves that by exposing inferred style preferences as named routing inputs.