Module Values_1.TrialComponentArtifactSource

Represents an input or output artifact of a trial component. You specify TrialComponentArtifact as part of the InputArtifacts and OutputArtifacts parameters in the CreateTrialComponent request. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.

Sourcetype nonrec t = {
  1. mediaType : MediaType.t option;
    (*

    The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.

    *)
  2. value : TrialComponentArtifactValue.t;
    (*

    The location of the artifact.

    *)
}
Sourceval context_ : string
Sourceval make : ?mediaType:??? -> value:TrialComponentArtifactValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MediaType.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