Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PredictedIntent = PredictedIntent' {}
- newPredictedIntent :: PredictedIntent
- predictedIntent_nluIntentConfidence :: Lens' PredictedIntent (Maybe IntentConfidence)
- predictedIntent_slots :: Lens' PredictedIntent (Maybe (HashMap Text Text))
- predictedIntent_intentName :: Lens' PredictedIntent (Maybe Text)
Documentation
data PredictedIntent Source #
An intent that Amazon Lex suggests satisfies the user's intent. Includes the name of the intent, the confidence that Amazon Lex has that the user's intent is satisfied, and the slots defined for the intent.
See: newPredictedIntent
smart constructor.
PredictedIntent' | |
|
Instances
newPredictedIntent :: PredictedIntent Source #
Create a value of PredictedIntent
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:nluIntentConfidence:PredictedIntent'
, predictedIntent_nluIntentConfidence
- Indicates how confident Amazon Lex is that an intent satisfies the
user's intent.
$sel:slots:PredictedIntent'
, predictedIntent_slots
- The slot and slot values associated with the predicted intent.
$sel:intentName:PredictedIntent'
, predictedIntent_intentName
- The name of the intent that Amazon Lex suggests satisfies the user's
intent.
predictedIntent_nluIntentConfidence :: Lens' PredictedIntent (Maybe IntentConfidence) Source #
Indicates how confident Amazon Lex is that an intent satisfies the user's intent.
predictedIntent_slots :: Lens' PredictedIntent (Maybe (HashMap Text Text)) Source #
The slot and slot values associated with the predicted intent.
predictedIntent_intentName :: Lens' PredictedIntent (Maybe Text) Source #
The name of the intent that Amazon Lex suggests satisfies the user's intent.