Event Signal
Overview
event routes structured event-like requests by event type, severity, urgency,
or domain-specific action code.
Define event rules under routing.signals.events.
Key Advantages
- Uses regex-based matching without model inference.
- Routes enterprise event-driven payloads (error alerts, audit logs, incident reports) to specialized model pools without requiring a domain classifier.
- Confidence is proportional to the number of matched criteria, giving the decision engine a graded signal.
- Temporal urgency detection (
urgent,immediate,asap,deadline,time-sensitive,now,critical.window) routes time-sensitive events independently of event type.
What Problem Does It Solve?
Keyword and embedding signals are tuned for natural-language queries. Structured event payloads — JSON fragments, alert messages, transaction error codes — contain well-defined fields that keyword matching cannot model cleanly. event provides a named, composable signal for each class of event without forcing operators to write fragile regex keyword rules.
When to Use
Use event when:
- requests contain machine-generated event payloads (error alerts, audit logs, transaction failures)
- you want to route by severity tier independently of event type
- domain-specific action codes (e.g.
TXN_DECLINE,AUTH_FAIL) should deterministically select a model pool - time-sensitive events need to bypass standard latency-tolerant queues