nemo_microservices.types.activated_rail#
Module Contents#
Classes#
API#
- class nemo_microservices.types.activated_rail.ActivatedRail(/, **data: Any)#
Bases:
nemo_microservices._models.BaseModel- additional_info: Dict[str, object] | None#
None
Additional information coming from rail.
- decisions: List[str] | None#
None
A sequence of decisions made by the rail, e.g., ‘bot refuse to respond’, ‘stop’, ‘continue’.
- duration: float | None#
None
The duration in seconds for applying the rail.
Some rails are applied instantly, e.g., dialog rails, so they don’t have a duration.
- executed_actions: List[nemo_microservices.types.executed_action.ExecutedAction] | None#
None
The list of actions executed by the rail.
- finished_at: float | None#
None
Timestamp for when the rail finished.
- name: str#
None
The name of the rail, i.e., the name of the flow implementing the rail.
- started_at: float | None#
None
Timestamp for when the rail started.
- stop: bool | None#
None
Whether the rail decided to stop any further processing.
- type: str#
None
The type of the rail that was activated, e.g., input, output, dialog.