Module Values.CreateLanguageModelResponseSource

Creates a new custom language model. When creating a new custom language model, you must specify: If you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample rates under 16,000 Hz) base model The location of your training and tuning files (this must be an Amazon S3 URI) The language of your model A unique name for your model

Sourcetype nonrec t = {
  1. languageCode : CLMLanguageCode.t option;
    (*

    The language code you selected for your custom language model.

    *)
  2. baseModelName : BaseModelName.t option;
    (*

    The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.

    *)
  3. modelName : ModelName.t option;
    (*

    The name of your custom language model.

    *)
  4. inputDataConfig : InputDataConfig.t option;
    (*

    Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your training (S3Uri) and tuning (TuningDataS3Uri) data.

    *)
  5. modelStatus : ModelStatus.t option;
    (*

    The status of your custom language model. When the status displays as COMPLETED, your model is ready to use.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalFailureException of InternalFailureException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?languageCode:??? -> ?baseModelName:??? -> ?modelName:??? -> ?inputDataConfig:??? -> ?modelStatus:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ModelName.t | `Structure of (string * [> `String of Uri_.t ]) list ]) 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