Patent attributes
Techniques for implementing a virtual assistant using directed acyclic graphs (DAGs) are described. When a trigger event occurs (e.g., the receipt of a natural language input, the receipt of sensor data, the detection of a performed gesture, etc.), an endpoint of processing of the trigger event is determined. A DAG is then generated that represents processing of the trigger event. Generate of the DAG starts by building a portion of the DAG for the endpoint processing component, and working backward based on data dependencies. Within the DAG, one or more components that output data, but do not receive data output by another component, may be determined. Thereafter, processing of the trigger event may be commences by initiating processing of the determined one or more components.