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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuntimeEntityAlternative.Builder
Builder. -
Method Summary
Modifier and Type Method Description Double
confidence()
Gets the confidence.RuntimeEntityAlternative.Builder
newBuilder()
New builder.String
value()
Gets the value.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a RuntimeEntityAlternative builder
-
value
Gets the value.The entity value that was recognized in the user input.
- Returns:
- the value
-
confidence
Gets the confidence.A decimal percentage that represents Watson's confidence in the recognized entity.
- Returns:
- the confidence
-