Class RuntimeIntent
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuntimeIntent.Builder
Builder. -
Method Summary
Modifier and Type Method Description Double
confidence()
Gets the confidence.String
intent()
Gets the intent.RuntimeIntent.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a RuntimeIntent builder
-
intent
Gets the intent.The name of the recognized intent.
- Returns:
- the intent
-
confidence
Gets the confidence.A decimal percentage that represents Watson's confidence in the intent.
- Returns:
- the confidence
-