Class RuntimeEntityAlternative

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

public class RuntimeEntityAlternative
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An alternative value for the recognized entity.
  • Method Details

    • newBuilder

      public RuntimeEntityAlternative.Builder newBuilder()
      New builder.
      Returns:
      a RuntimeEntityAlternative builder
    • value

      public String value()
      Gets the value.

      The entity value that was recognized in the user input.

      Returns:
      the value
    • confidence

      public Double confidence()
      Gets the confidence.

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

      Returns:
      the confidence