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 | Method and Description |
---|---|
Double |
confidence()
Gets the confidence.
|
String |
intent()
Gets the intent.
|
RuntimeIntent.Builder |
newBuilder()
New builder.
|
public RuntimeIntent.Builder newBuilder()
public String intent()
The name of the recognized intent.
public Double confidence()
A decimal percentage that represents Watson's confidence in the intent. If you are specifying an intent as part of a request, but you do not have a calculated confidence value, specify `1`.
Copyright © 2022 IBM Cloud. All rights reserved.