Interface PostContactSummary.Builder

    • Method Detail

      • content

        PostContactSummary.Builder content​(String content)

        The content of the summary.

        Parameters:
        content - The content of the summary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureCode

        PostContactSummary.Builder failureCode​(String failureCode)

        If the summary failed to be generated, one of the following failure codes occurs:

        • QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota.

        • INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary.

        • FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines.

        • INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries.

        • INTERNAL_ERROR: Internal system error.

        Parameters:
        failureCode - If the summary failed to be generated, one of the following failure codes occurs:

        • QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota.

        • INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary.

        • FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines.

        • INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries.

        • INTERNAL_ERROR: Internal system error.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PostContactSummaryFailureCode, PostContactSummaryFailureCode
      • failureCode

        PostContactSummary.Builder failureCode​(PostContactSummaryFailureCode failureCode)

        If the summary failed to be generated, one of the following failure codes occurs:

        • QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota.

        • INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary.

        • FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines.

        • INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries.

        • INTERNAL_ERROR: Internal system error.

        Parameters:
        failureCode - If the summary failed to be generated, one of the following failure codes occurs:

        • QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota.

        • INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary.

        • FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines.

        • INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries.

        • INTERNAL_ERROR: Internal system error.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PostContactSummaryFailureCode, PostContactSummaryFailureCode