Interface PostContactSummary.Builder

  • Method Details

    • 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.
    • status

      Whether the summary was successfully COMPLETED or FAILED to be generated.

      Parameters:
      status - Whether the summary was successfully COMPLETED or FAILED to be generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Whether the summary was successfully COMPLETED or FAILED to be generated.

      Parameters:
      status - Whether the summary was successfully COMPLETED or FAILED to be generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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: