public class RuntimeIntent
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeIntent.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
confidence |
protected java.lang.String |
intent |
Modifier | Constructor and Description |
---|---|
protected |
RuntimeIntent(RuntimeIntent.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
confidence()
Gets the confidence.
|
java.lang.String |
intent()
Gets the intent.
|
RuntimeIntent.Builder |
newBuilder()
New builder.
|
protected java.lang.String intent
protected java.lang.Double confidence
protected RuntimeIntent(RuntimeIntent.Builder builder)
public RuntimeIntent.Builder newBuilder()
public java.lang.String intent()
The name of the recognized intent.
public java.lang.Double confidence()
A decimal percentage that represents Watson's confidence in the intent.