|
1 |
| -# Additional Prompt Classification Routing for vLLM Semantic Router |
| 1 | +# Prompt Classification Routing |
2 | 2 |
|
3 | 3 | **Related Issues:** [#313](https://github.com/vllm-project/semantic-router/issues/313), [#200](https://github.com/vllm-project/semantic-router/issues/200)
|
4 | 4 |
|
@@ -212,7 +212,7 @@ The Regex Scanner uses regular expression patterns to detect structured data and
|
212 | 212 | - **Performance:** ~2-5ms for dozens of patterns
|
213 | 213 | - **Use Case:** PII patterns (SSN, credit cards), CVE IDs, email addresses, structured data
|
214 | 214 | - **Safety:** RE2 engine prevents catastrophic backtracking (ReDoS protection)
|
215 |
| -- **Limitations:** Best for <100 patterns; for larger rule sets, use MCP with Hyperscan |
| 215 | +- **Limitations:** Best for fewer than 100 patterns; for larger rule sets, use MCP with Hyperscan |
216 | 216 |
|
217 | 217 | **Example Use:** Detect and block Social Security Numbers, route CVE IDs to security models.
|
218 | 218 |
|
@@ -347,7 +347,7 @@ The Signal Fusion Layer is the decision-making engine that combines all signals
|
347 | 347 | - **Priority-Based**: Rules evaluated from highest to lowest priority (200 → 0)
|
348 | 348 | - **Short-Circuit**: First matching rule wins, no further evaluation
|
349 | 349 | - **Boolean Expressions**: Combine multiple signal conditions with AND, OR, NOT
|
350 |
| -- **Flexible Comparisons**: Support ==, !=, >, <, >=, <= for numeric thresholds |
| 350 | +- **Flexible Comparisons**: Support `==`, `!=`, `>`, `<`, `>=`, `<=` for numeric thresholds |
351 | 351 |
|
352 | 352 | **Expression Capabilities:**
|
353 | 353 |
|
|
0 commit comments