Struct aws_sdk_lexmodelsv2::types::UserTurnResult
source · #[non_exhaustive]pub struct UserTurnResult {
pub input: Option<UserTurnInputSpecification>,
pub expected_output: Option<UserTurnOutputSpecification>,
pub actual_output: Option<UserTurnOutputSpecification>,
pub error_details: Option<ExecutionErrorDetails>,
pub end_to_end_result: Option<TestResultMatchStatus>,
pub intent_match_result: Option<TestResultMatchStatus>,
pub slot_match_result: Option<TestResultMatchStatus>,
pub speech_transcription_result: Option<TestResultMatchStatus>,
pub conversation_level_result: Option<ConversationLevelResultDetail>,
}Expand description
Contains the results for the user turn by the test execution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.input: Option<UserTurnInputSpecification>Contains information about the user messages in the turn in the input.
expected_output: Option<UserTurnOutputSpecification>Contains information about the expected output for the user turn.
actual_output: Option<UserTurnOutputSpecification>Contains information about the actual output for the user turn.
error_details: Option<ExecutionErrorDetails>Details about an error in an execution of a test set.
end_to_end_result: Option<TestResultMatchStatus>Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
intent_match_result: Option<TestResultMatchStatus>Specifies whether the expected and actual intents match or not.
slot_match_result: Option<TestResultMatchStatus>Specifies whether the expected and actual slots match or not.
speech_transcription_result: Option<TestResultMatchStatus>Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
conversation_level_result: Option<ConversationLevelResultDetail>Contains information about the results related to the conversation associated with the user turn.
Implementations§
source§impl UserTurnResult
impl UserTurnResult
sourcepub fn input(&self) -> Option<&UserTurnInputSpecification>
pub fn input(&self) -> Option<&UserTurnInputSpecification>
Contains information about the user messages in the turn in the input.
sourcepub fn expected_output(&self) -> Option<&UserTurnOutputSpecification>
pub fn expected_output(&self) -> Option<&UserTurnOutputSpecification>
Contains information about the expected output for the user turn.
sourcepub fn actual_output(&self) -> Option<&UserTurnOutputSpecification>
pub fn actual_output(&self) -> Option<&UserTurnOutputSpecification>
Contains information about the actual output for the user turn.
sourcepub fn error_details(&self) -> Option<&ExecutionErrorDetails>
pub fn error_details(&self) -> Option<&ExecutionErrorDetails>
Details about an error in an execution of a test set.
sourcepub fn end_to_end_result(&self) -> Option<&TestResultMatchStatus>
pub fn end_to_end_result(&self) -> Option<&TestResultMatchStatus>
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
sourcepub fn intent_match_result(&self) -> Option<&TestResultMatchStatus>
pub fn intent_match_result(&self) -> Option<&TestResultMatchStatus>
Specifies whether the expected and actual intents match or not.
sourcepub fn slot_match_result(&self) -> Option<&TestResultMatchStatus>
pub fn slot_match_result(&self) -> Option<&TestResultMatchStatus>
Specifies whether the expected and actual slots match or not.
sourcepub fn speech_transcription_result(&self) -> Option<&TestResultMatchStatus>
pub fn speech_transcription_result(&self) -> Option<&TestResultMatchStatus>
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
sourcepub fn conversation_level_result(
&self,
) -> Option<&ConversationLevelResultDetail>
pub fn conversation_level_result( &self, ) -> Option<&ConversationLevelResultDetail>
Contains information about the results related to the conversation associated with the user turn.
source§impl UserTurnResult
impl UserTurnResult
sourcepub fn builder() -> UserTurnResultBuilder
pub fn builder() -> UserTurnResultBuilder
Creates a new builder-style object to manufacture UserTurnResult.
Trait Implementations§
source§impl Clone for UserTurnResult
impl Clone for UserTurnResult
source§fn clone(&self) -> UserTurnResult
fn clone(&self) -> UserTurnResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UserTurnResult
impl Debug for UserTurnResult
source§impl PartialEq for UserTurnResult
impl PartialEq for UserTurnResult
source§fn eq(&self, other: &UserTurnResult) -> bool
fn eq(&self, other: &UserTurnResult) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UserTurnResult
Auto Trait Implementations§
impl Freeze for UserTurnResult
impl RefUnwindSafe for UserTurnResult
impl Send for UserTurnResult
impl Sync for UserTurnResult
impl Unpin for UserTurnResult
impl UnwindSafe for UserTurnResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more