Interface IntentResult.Builder

  • Method Details

    • intentType

      IntentResult.Builder intentType(String intentType)

      The intent type.

      Parameters:
      intentType - The intent type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • intentType

      IntentResult.Builder intentType(IntentType intentType)

      The intent type.

      Parameters:
      intentType - The intent type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • summary

      IntentResult.Builder summary(String summary)

      A natural language summary of the intent. This is returned for the WEB_SESSION_SUMMARY and LAST_SEARCH_INTENT intent types.

      Parameters:
      summary - A natural language summary of the intent. This is returned for the WEB_SESSION_SUMMARY and LAST_SEARCH_INTENT intent types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The classification of the intent, such as HIGH or LOW. This is returned for the PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY intent types.

      Parameters:
      value - The classification of the intent, such as HIGH or LOW. This is returned for the PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY intent types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.