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.
|
String |
skill()
Gets the skill.
|
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`.
public String skill()
The skill that identified the intent. Currently, the only possible values are `main skill` for the dialog skill (if enabled) and `actions skill` for the action skill.
This property is present only if the assistant has both a dialog skill and an action skill.
Copyright © 2023 IBM Cloud. All rights reserved.