#[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 ==.impl StructuralPartialEq for TestExecutionResultItemsBuilder
Auto Trait Implementations§
impl Freeze for TestExecutionResultItemsBuilder
impl RefUnwindSafe for TestExecutionResultItemsBuilder
impl Send for TestExecutionResultItemsBuilder
impl Sync for TestExecutionResultItemsBuilder
impl Unpin for TestExecutionResultItemsBuilder
impl UnwindSafe for TestExecutionResultItemsBuilder
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