#[non_exhaustive]pub struct ConversationLevelTestResultItem {
pub conversation_id: String,
pub end_to_end_result: TestResultMatchStatus,
pub speech_transcription_result: Option<TestResultMatchStatus>,
pub intent_classification_results: Vec<ConversationLevelIntentClassificationResultItem>,
pub slot_resolution_results: Vec<ConversationLevelSlotResolutionResultItem>,
}
Expand description
The test result evaluation item at the conversation level.
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.conversation_id: String
The conversation Id of the test result evaluation item.
end_to_end_result: TestResultMatchStatus
The end-to-end success or failure of the test result evaluation item.
speech_transcription_result: Option<TestResultMatchStatus>
The speech transcription success or failure of the test result evaluation item.
intent_classification_results: Vec<ConversationLevelIntentClassificationResultItem>
The intent classification of the test result evaluation item.
slot_resolution_results: Vec<ConversationLevelSlotResolutionResultItem>
The slot success or failure of the test result evaluation item.
Implementations§
source§impl ConversationLevelTestResultItem
impl ConversationLevelTestResultItem
sourcepub fn conversation_id(&self) -> &str
pub fn conversation_id(&self) -> &str
The conversation Id of the test result evaluation item.
sourcepub fn end_to_end_result(&self) -> &TestResultMatchStatus
pub fn end_to_end_result(&self) -> &TestResultMatchStatus
The end-to-end success or failure of the test result evaluation item.
sourcepub fn speech_transcription_result(&self) -> Option<&TestResultMatchStatus>
pub fn speech_transcription_result(&self) -> Option<&TestResultMatchStatus>
The speech transcription success or failure of the test result evaluation item.
sourcepub fn intent_classification_results(
&self
) -> &[ConversationLevelIntentClassificationResultItem]
pub fn intent_classification_results( &self ) -> &[ConversationLevelIntentClassificationResultItem]
The intent classification of the test result evaluation item.
sourcepub fn slot_resolution_results(
&self
) -> &[ConversationLevelSlotResolutionResultItem]
pub fn slot_resolution_results( &self ) -> &[ConversationLevelSlotResolutionResultItem]
The slot success or failure of the test result evaluation item.
source§impl ConversationLevelTestResultItem
impl ConversationLevelTestResultItem
sourcepub fn builder() -> ConversationLevelTestResultItemBuilder
pub fn builder() -> ConversationLevelTestResultItemBuilder
Creates a new builder-style object to manufacture ConversationLevelTestResultItem
.
Trait Implementations§
source§impl Clone for ConversationLevelTestResultItem
impl Clone for ConversationLevelTestResultItem
source§fn clone(&self) -> ConversationLevelTestResultItem
fn clone(&self) -> ConversationLevelTestResultItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ConversationLevelTestResultItem
impl PartialEq for ConversationLevelTestResultItem
source§fn eq(&self, other: &ConversationLevelTestResultItem) -> bool
fn eq(&self, other: &ConversationLevelTestResultItem) -> bool
self
and other
values to be equal, and is used
by ==
.