Struct aws_sdk_transcribe::model::SentimentFilter
source · [−]#[non_exhaustive]pub struct SentimentFilter { /* private fields */ }Expand description
Flag the presence or absence of specific sentiments detected in your Call Analytics transcription output.
Rules using SentimentFilter are designed to match:
-
The presence or absence of a positive sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a negative sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a neutral sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a mixed sentiment felt by the customer, the agent, or both at specified points in the call
See Rule criteria for examples.
Implementations
sourceimpl SentimentFilter
impl SentimentFilter
sourcepub fn sentiments(&self) -> Option<&[SentimentValue]>
pub fn sentiments(&self) -> Option<&[SentimentValue]>
Specify the sentiments you want to flag.
sourcepub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
pub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for the specified sentiments. See for more detail.
sourcepub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
pub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
Allows you to specify a time range (in percentage) in your media file, during which you want to search for the specified sentiments. See for more detail.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both participants.
sourceimpl SentimentFilter
impl SentimentFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SentimentFilter.
Trait Implementations
sourceimpl Clone for SentimentFilter
impl Clone for SentimentFilter
sourcefn clone(&self) -> SentimentFilter
fn clone(&self) -> SentimentFilter
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more