public class MessageOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
alternateIntents |
protected Context |
context |
protected java.util.List<RuntimeEntity> |
entities |
protected MessageInput |
input |
protected java.util.List<RuntimeIntent> |
intents |
protected java.lang.Boolean |
nodesVisitedDetails |
protected OutputData |
output |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
MessageOptions(MessageOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
alternateIntents()
Gets the alternateIntents.
|
Context |
context()
Gets the context.
|
java.util.List<RuntimeEntity> |
entities()
Gets the entities.
|
MessageInput |
input()
Gets the input.
|
java.util.List<RuntimeIntent> |
intents()
Gets the intents.
|
MessageOptions.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
nodesVisitedDetails()
Gets the nodesVisitedDetails.
|
OutputData |
output()
Gets the output.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected MessageInput input
protected java.util.List<RuntimeIntent> intents
protected java.util.List<RuntimeEntity> entities
protected java.lang.Boolean alternateIntents
protected Context context
protected OutputData output
protected java.lang.Boolean nodesVisitedDetails
protected MessageOptions(MessageOptions.Builder builder)
public MessageOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public MessageInput input()
An input object that includes the input text.
public java.util.List<RuntimeIntent> intents()
Intents to use when evaluating the user input. Include intents from the previous response to continue using those intents rather than trying to recognize intents in the new input.
public java.util.List<RuntimeEntity> entities()
Entities to use when evaluating the message. Include entities from the previous response to continue using those entities rather than detecting entities in the new input.
public java.lang.Boolean alternateIntents()
Whether to return more than one intent. A value of `true` indicates that all matching intents are returned.
public Context context()
State information for the conversation. To maintain state, include the context from the previous response.
public OutputData output()
An output object that includes the response to the user, the dialog nodes that were triggered, and messages from the log.
public java.lang.Boolean nodesVisitedDetails()
Whether to include additional diagnostic information about the dialog nodes that were visited during processing of the message.