amazonka-lex-runtime-2.0: Amazon Lex Runtime Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexRuntime.Types.IntentConfidence

Description

 
Synopsis

Documentation

data IntentConfidence Source #

Provides a score that indicates the confidence that Amazon Lex has that an intent is the one that satisfies the user's intent.

See: newIntentConfidence smart constructor.

Constructors

IntentConfidence' 

Fields

  • score :: Maybe Double

    A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.

Instances

Instances details
FromJSON IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Generic IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Associated Types

type Rep IntentConfidence :: Type -> Type #

Read IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Show IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

NFData IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Methods

rnf :: IntentConfidence -> () #

Eq IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Hashable IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

type Rep IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

type Rep IntentConfidence = D1 ('MetaData "IntentConfidence" "Amazonka.LexRuntime.Types.IntentConfidence" "amazonka-lex-runtime-2.0-Hs8dyr5aBISIGW4JmDmUkW" 'False) (C1 ('MetaCons "IntentConfidence'" 'PrefixI 'True) (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newIntentConfidence :: IntentConfidence Source #

Create a value of IntentConfidence with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:score:IntentConfidence', intentConfidence_score - A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.

intentConfidence_score :: Lens' IntentConfidence (Maybe Double) Source #

A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.