Struct aws_sdk_lexruntimev2::model::Interpretation
source · #[non_exhaustive]pub struct Interpretation { /* private fields */ }Expand description
An intent that Amazon Lex V2 determined might satisfy the user's utterance. The intents are ordered by the confidence score.
Implementations§
source§impl Interpretation
impl Interpretation
sourcepub fn nlu_confidence(&self) -> Option<&ConfidenceScore>
pub fn nlu_confidence(&self) -> Option<&ConfidenceScore>
Determines the threshold where Amazon Lex V2 will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.
sourcepub fn sentiment_response(&self) -> Option<&SentimentResponse>
pub fn sentiment_response(&self) -> Option<&SentimentResponse>
The sentiment expressed in an utterance.
When the bot is configured to send utterances to Amazon Comprehend for sentiment analysis, this field contains the result of the analysis.
source§impl Interpretation
impl Interpretation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Interpretation.
Trait Implementations§
source§impl Clone for Interpretation
impl Clone for Interpretation
source§fn clone(&self) -> Interpretation
fn clone(&self) -> Interpretation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Interpretation
impl Debug for Interpretation
source§impl PartialEq<Interpretation> for Interpretation
impl PartialEq<Interpretation> for Interpretation
source§fn eq(&self, other: &Interpretation) -> bool
fn eq(&self, other: &Interpretation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.