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 ==
.