Module Values.EventParametersSource

Configuration parameters for events in the personalization system.

Sourcetype nonrec t = {
  1. eventType : EventParametersEventTypeString.t;
    (*

    The type of event being tracked (e.g., 'click', 'purchase', 'view').

    *)
  2. eventValueThreshold : Double.t option;
    (*

    The minimum value threshold that an event must meet to be considered valid.

    *)
  3. eventWeight : EventParametersEventWeightDouble.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?eventValueThreshold:??? -> ?eventWeight:??? -> eventType:EventParametersEventTypeString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `String of EventParametersEventTypeString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t