Module Values.AcceptRuleSource

Specifies the rule and the threshold under which a prediction can be accepted.

Sourcetype nonrec t = {
  1. rule : AcceptRuleBehavior.t option;
    (*

    Specifies whether you want to accept the top prediction for all targets or none.

    *)
  2. threshold : Float_.t option;
    (*

    The confidence score that specifies the condition at which a prediction can be accepted.

    *)
}
Sourceval make : ?rule:??? -> ?threshold:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Float of Float_.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