libZSservicesZSamazonka-lex-runtimeZSamazonka-lex-runtime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Read IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Show 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 #

NFData IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

Methods

rnf :: IntentConfidence -> () #

Hashable IntentConfidence Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.IntentConfidence

FromJSON 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" "libZSservicesZSamazonka-lex-runtimeZSamazonka-lex-runtime" '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.