public class DialogSuggestion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
DialogSuggestion.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
dialogNode()
Gets the dialogNode.
|
String |
label()
Gets the label.
|
DialogSuggestion.Builder |
newBuilder()
New builder.
|
Map<String,Object> |
output()
Gets the output.
|
DialogSuggestionValue |
value()
Gets the value.
|
public DialogSuggestion.Builder newBuilder()
public String label()
The user-facing label for the disambiguation option. This label is taken from the **title** or **user_label** property of the corresponding dialog node.
public DialogSuggestionValue value()
An object defining the message input, intents, and entities to be sent to the Watson Assistant service if the user selects the corresponding disambiguation option.
**Note:** These properties must be included in the request body of the next message sent to the assistant. Do not modify or remove any of the included properties.
public Map<String,Object> output()
The dialog output that will be returned from the Watson Assistant service if the user selects the corresponding option.
public String dialogNode()
The unique ID of the dialog node that the **label** property is taken from. The **label** property is populated using the value of the dialog node's **title** or **user_label** property.
Copyright © 2023 IBM Cloud. All rights reserved.