Skip to content

Decisions

Decision

Bases: BaseModel

Represents a decision domain with a range of values and associated metadata.

Attributes:

Name Type Description
min_val NumericValueT

The minimum value of the domain.

max_val NumericValueT

The maximum value of the domain.

role_style AlertStyle

The style of the alert associated with this domain.

msg str

The message associated with this domain.

headline str

The headline for this domain.

DecisionCollection

Bases: BaseModel

Represents a collection of decision domains with associated metadata.

Attributes:

Name Type Description
util_bands List[NumericValueT]

A list of utility bands defining the boundaries of the domains.

headlines Optional[List[str]]

A list of headlines for each domain. Default = None.

messages Optional[List[str]]

A list of messages for each domain. Default = None.

role_styles Optional[List[AlertStyle]]

A list of alert styles for each domain. Default = None.