Skip to content

EventParameters

Source code in docs_src/capo_personalize/types/event_parameters.py
class EventParameters(TypedDict, closed=True):
    event_type: NotRequired["capo_personalize.types.event_type.EventType"]
    """<p>The name of the event type to be considered for solution creation.</p>"""
    event_value_threshold: NotRequired[
        "capo_personalize.types.event_type_threshold_value.EventTypeThresholdValue"
    ]
    """<p>The threshold of the event type. Only events with a value greater or equal to this threshold will be considered for solution creation.</p>"""
    weight: NotRequired["capo_personalize.types.event_type_weight.EventTypeWeight"]
    """<p>The weight of the event type. A higher weight means higher importance of the event type for the created solution.</p>"""

event_type instance-attribute

event_type: NotRequired[EventType]

The name of the event type to be considered for solution creation.

event_value_threshold instance-attribute

event_value_threshold: NotRequired[EventTypeThresholdValue]

The threshold of the event type. Only events with a value greater or equal to this threshold will be considered for solution creation.

weight instance-attribute

weight: NotRequired[EventTypeWeight]

The weight of the event type. A higher weight means higher importance of the event type for the created solution.