Module Values_2.StopInferenceExperimentRequestSource

Stops an inference experiment.

Sourcetype nonrec t = {
  1. name : Values_1.InferenceExperimentName.t;
    (*

    The name of the inference experiment to stop.

    *)
  2. modelVariantActions : ModelVariantActionMap.t;
    (*

    Array of key-value pairs, with names of variants mapped to actions. The possible actions are the following: Promote - Promote the shadow variant to a production variant Remove - Delete the variant Retain - Keep the variant as it is

    *)
  3. desiredModelVariants : Values_1.ModelVariantConfigList.t option;
    (*

    An array of ModelVariantConfig objects. There is one for each variant that you want to deploy after the inference experiment stops. Each ModelVariantConfig describes the infrastructure configuration for deploying the corresponding variant.

    *)
  4. desiredState : InferenceExperimentStopDesiredState.t option;
    (*

    The desired state of the experiment after stopping. The possible states are the following: Completed: The experiment completed successfully Cancelled: The experiment was canceled

    *)
  5. reason : Values_1.InferenceExperimentStatusReason.t option;
    (*

    The reason for stopping the experiment.

    *)
}
Sourceval context_ : string
Sourceval make : ?desiredModelVariants:??? -> ?desiredState:??? -> ?reason:??? -> name:Values_1.InferenceExperimentName.t -> modelVariantActions:ModelVariantActionMap.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of Values_0.ModelName.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `Integer of int ]) list ]) list ]) list ] list | `Map of ([> `String of Values_1.ModelVariantName.t ] * [> `Enum of string ]) list | `String of Values_1.InferenceExperimentName.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