Module Values.RecommenderSchemaFieldSource

Defines a column in a recommender schema, including the target field name and optional feature and content type settings for training.

Sourcetype nonrec t = {
  1. targetFieldName : Text.t;
    (*

    The name of the target field in the dataset, such as Location.City or Attributes.MealTime.

    *)
  2. contentType : ContentType.t option;
    (*

    The data type of the column value. Valid values are String and Number. The default value is String.

    *)
  3. featureType : FeatureType.t option;
    (*

    How the column is treated for model training. Valid values are CATEGORICAL and TEXTUAL.

    *)
}
Sourceval context_ : string
Sourceval make : ?contentType:??? -> ?featureType:??? -> targetFieldName:Text.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Text.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