Class RuntimeIntent

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.RuntimeIntent
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class RuntimeIntent
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An intent identified in the user input.
  • Method Details

    • newBuilder

      public RuntimeIntent.Builder newBuilder()
      New builder.
      Returns:
      a RuntimeIntent builder
    • intent

      public String intent()
      Gets the intent.

      The name of the recognized intent.

      Returns:
      the intent
    • confidence

      public Double confidence()
      Gets the confidence.

      A decimal percentage that represents Watson's confidence in the intent.

      Returns:
      the confidence