#[non_exhaustive]pub struct TestExecutionResultItemsBuilder { /* private fields */ }Expand description
A builder for TestExecutionResultItems.
Implementations§
source§impl TestExecutionResultItemsBuilder
impl TestExecutionResultItemsBuilder
sourcepub fn overall_test_results(self, input: OverallTestResults) -> Self
pub fn overall_test_results(self, input: OverallTestResults) -> Self
Overall results for the test execution, including the breakdown of conversations and single-input utterances.
sourcepub fn set_overall_test_results(self, input: Option<OverallTestResults>) -> Self
pub fn set_overall_test_results(self, input: Option<OverallTestResults>) -> Self
Overall results for the test execution, including the breakdown of conversations and single-input utterances.
sourcepub fn get_overall_test_results(&self) -> &Option<OverallTestResults>
pub fn get_overall_test_results(&self) -> &Option<OverallTestResults>
Overall results for the test execution, including the breakdown of conversations and single-input utterances.
sourcepub fn conversation_level_test_results(
self,
input: ConversationLevelTestResults
) -> Self
pub fn conversation_level_test_results( self, input: ConversationLevelTestResults ) -> Self
Results related to conversations in the test set, including metrics about success and failure of conversations and intent and slot failures.
sourcepub fn set_conversation_level_test_results(
self,
input: Option<ConversationLevelTestResults>
) -> Self
pub fn set_conversation_level_test_results( self, input: Option<ConversationLevelTestResults> ) -> Self
Results related to conversations in the test set, including metrics about success and failure of conversations and intent and slot failures.
sourcepub fn get_conversation_level_test_results(
&self
) -> &Option<ConversationLevelTestResults>
pub fn get_conversation_level_test_results( &self ) -> &Option<ConversationLevelTestResults>
Results related to conversations in the test set, including metrics about success and failure of conversations and intent and slot failures.
sourcepub fn intent_classification_test_results(
self,
input: IntentClassificationTestResults
) -> Self
pub fn intent_classification_test_results( self, input: IntentClassificationTestResults ) -> Self
Intent recognition results aggregated by intent name. The aggregated results contain success and failure rates of intent recognition, speech transcriptions, and end-to-end conversations.
sourcepub fn set_intent_classification_test_results(
self,
input: Option<IntentClassificationTestResults>
) -> Self
pub fn set_intent_classification_test_results( self, input: Option<IntentClassificationTestResults> ) -> Self
Intent recognition results aggregated by intent name. The aggregated results contain success and failure rates of intent recognition, speech transcriptions, and end-to-end conversations.
sourcepub fn get_intent_classification_test_results(
&self
) -> &Option<IntentClassificationTestResults>
pub fn get_intent_classification_test_results( &self ) -> &Option<IntentClassificationTestResults>
Intent recognition results aggregated by intent name. The aggregated results contain success and failure rates of intent recognition, speech transcriptions, and end-to-end conversations.
sourcepub fn intent_level_slot_resolution_test_results(
self,
input: IntentLevelSlotResolutionTestResults
) -> Self
pub fn intent_level_slot_resolution_test_results( self, input: IntentLevelSlotResolutionTestResults ) -> Self
Slot resolution results aggregated by intent and slot name. The aggregated results contain success and failure rates of slot resolution, speech transcriptions, and end-to-end conversations
sourcepub fn set_intent_level_slot_resolution_test_results(
self,
input: Option<IntentLevelSlotResolutionTestResults>
) -> Self
pub fn set_intent_level_slot_resolution_test_results( self, input: Option<IntentLevelSlotResolutionTestResults> ) -> Self
Slot resolution results aggregated by intent and slot name. The aggregated results contain success and failure rates of slot resolution, speech transcriptions, and end-to-end conversations
sourcepub fn get_intent_level_slot_resolution_test_results(
&self
) -> &Option<IntentLevelSlotResolutionTestResults>
pub fn get_intent_level_slot_resolution_test_results( &self ) -> &Option<IntentLevelSlotResolutionTestResults>
Slot resolution results aggregated by intent and slot name. The aggregated results contain success and failure rates of slot resolution, speech transcriptions, and end-to-end conversations
sourcepub fn utterance_level_test_results(
self,
input: UtteranceLevelTestResults
) -> Self
pub fn utterance_level_test_results( self, input: UtteranceLevelTestResults ) -> Self
Results related to utterances in the test set.
sourcepub fn set_utterance_level_test_results(
self,
input: Option<UtteranceLevelTestResults>
) -> Self
pub fn set_utterance_level_test_results( self, input: Option<UtteranceLevelTestResults> ) -> Self
Results related to utterances in the test set.
sourcepub fn get_utterance_level_test_results(
&self
) -> &Option<UtteranceLevelTestResults>
pub fn get_utterance_level_test_results( &self ) -> &Option<UtteranceLevelTestResults>
Results related to utterances in the test set.
sourcepub fn build(self) -> TestExecutionResultItems
pub fn build(self) -> TestExecutionResultItems
Consumes the builder and constructs a TestExecutionResultItems.
Trait Implementations§
source§impl Clone for TestExecutionResultItemsBuilder
impl Clone for TestExecutionResultItemsBuilder
source§fn clone(&self) -> TestExecutionResultItemsBuilder
fn clone(&self) -> TestExecutionResultItemsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for TestExecutionResultItemsBuilder
impl Default for TestExecutionResultItemsBuilder
source§fn default() -> TestExecutionResultItemsBuilder
fn default() -> TestExecutionResultItemsBuilder
source§impl PartialEq for TestExecutionResultItemsBuilder
impl PartialEq for TestExecutionResultItemsBuilder
source§fn eq(&self, other: &TestExecutionResultItemsBuilder) -> bool
fn eq(&self, other: &TestExecutionResultItemsBuilder) -> bool
self and other values to be equal, and is used
by ==.