Module Values.NluImprovementSpecificationSource

Configures the Assisted Natural Language Understanding (NLU) feature for your bot. This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.

Sourcetype nonrec t = {
  1. enabled : Enabled.t;
    (*

    Determines whether the Assisted NLU feature is enabled for the bot. When set to true, Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default being false.

    *)
  2. assistedNluMode : AssistedNluMode.t option;
    (*

    Specifies the mode for Assisted NLU operation. Use Primary to make Assisted NLU the primary intent recognition method, or Fallback to use it only when standard NLU confidence is low.

    *)
  3. intentDisambiguationSettings : IntentDisambiguationSettings.t option;
    (*

    An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings. These settings determine how the bot handles ambiguous user inputs that could match multiple intents.

    *)
}
Sourceval context_ : string
Sourceval make : ?assistedNluMode:??? -> ?intentDisambiguationSettings:??? -> enabled:Enabled.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Enabled.t | `Enum of string | `Structure of (string * [> `Boolean of Enabled.t | `Integer of MaxDisambiguationIntents.t | `String of CustomDisambiguationMessage.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