Expand description
Centralized decision event helpers: detection, extraction, domain parsing.
Functions§
- extract_
decision - Extract
DecisionPayloadfrom an event payload. Prefers structuredpayload.decisionobject, falls back to text parse for backward compatibility with legacy events. - extract_
domain - Extract domain from a decision key:
"db.engine"→"db". - is_
decision - Check if a payload represents a decision event (note with “decision” tag).
- is_
session_ digest - Check if a payload represents a session digest event (note with “session_digest” tag).