Interface IntentClassificationTestResultItemCounts.Builder

    • Method Detail

      • totalResultCount

        IntentClassificationTestResultItemCounts.Builder totalResultCount​(Integer totalResultCount)

        The total number of results in the intent classification test.

        Parameters:
        totalResultCount - The total number of results in the intent classification test.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • speechTranscriptionResultCountsWithStrings

        IntentClassificationTestResultItemCounts.Builder speechTranscriptionResultCountsWithStrings​(Map<String,​Integer> speechTranscriptionResultCounts)

        The number of matched, mismatched, and execution error results for speech transcription for the intent.

        Parameters:
        speechTranscriptionResultCounts - The number of matched, mismatched, and execution error results for speech transcription for the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • speechTranscriptionResultCounts

        IntentClassificationTestResultItemCounts.Builder speechTranscriptionResultCounts​(Map<TestResultMatchStatus,​Integer> speechTranscriptionResultCounts)

        The number of matched, mismatched, and execution error results for speech transcription for the intent.

        Parameters:
        speechTranscriptionResultCounts - The number of matched, mismatched, and execution error results for speech transcription for the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • intentMatchResultCountsWithStrings

        IntentClassificationTestResultItemCounts.Builder intentMatchResultCountsWithStrings​(Map<String,​Integer> intentMatchResultCounts)

        The number of matched and mismatched results for intent recognition for the intent.

        Parameters:
        intentMatchResultCounts - The number of matched and mismatched results for intent recognition for the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • intentMatchResultCounts

        IntentClassificationTestResultItemCounts.Builder intentMatchResultCounts​(Map<TestResultMatchStatus,​Integer> intentMatchResultCounts)

        The number of matched and mismatched results for intent recognition for the intent.

        Parameters:
        intentMatchResultCounts - The number of matched and mismatched results for intent recognition for the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.