nemoguardrails.colang.v2_x.runtime.flows
nemoguardrails.colang.v2_x.runtime.flows
A simplified modeling of the CoFlows engine.
Module Contents
Classes
Data
API
The action class groups and manages the action events.
Changes a parameter of a started action.
Returns the Finished action event.
Returns the action if event name conforms with UMIM convention.
Returns the corresponding action event.
Processes event and updates action accordingly.
Starts the action. Takes no arguments.
Returns the Started action event.
Stops a started action. Takes no arguments.
Returns the Updated parameter action event.
Bases: Event
The action event class.
Creates an event from a flat dictionary.
Bases: enum.Enum
The status of an action.
The base event class.
Creates an event from a flat dictionary.
Compares two events in terms of their name and arguments.
The configuration of a flow.
Return True if flow is marked as override.
Return the interaction loop id if set.
Return the interaction loop priority (default: 0).
Return the interaction loop type.
Return True if flow is marked with given meta tag, e.g. @meta(llm_exclude=True).
Return the parameter of the meta tag or None if it does not exist.
The flow head that points to a certain element in the flow
Return the current position of the head.
Return the current status of the head.
Return uids of all child heads (recursively).
Bases: enum.Enum
The status of a flow head.
The state of a flow.
All active heads of this flow.
The status of the flow
Returns the flow Failed event.
Finishes the flow. Takes no arguments.
Returns the flow Finished event.
Returns the corresponding action event.
Pauses the flow. Takes no arguments.
Resumes the flow. Takes no arguments.
Starts the flow. Takes no arguments.
Returns the flow Started event.
Stops the flow. Takes no arguments.
Bases: enum.Enum
The status of a flow.
Bases: enum.Enum
The type of the interaction loop.
All internal event types. This event will not appear in the event stream and have priority over them.
The state of a flow-driven system.