public class MessageInputOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageInputOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
alternateIntents()
Gets the alternateIntents.
|
Boolean |
debug()
Gets the debug.
|
Boolean |
export()
Gets the export.
|
MessageInputOptions.Builder |
newBuilder()
New builder.
|
Boolean |
restart()
Gets the restart.
|
Boolean |
returnContext()
Gets the returnContext.
|
MessageInputOptionsSpelling |
spelling()
Gets the spelling.
|
public MessageInputOptions.Builder newBuilder()
public Boolean restart()
Whether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes. **Note:** This does not affect `turn_count` or any other context variables.
public Boolean alternateIntents()
Whether to return more than one intent. Set to `true` to return all matching intents.
public MessageInputOptionsSpelling spelling()
Spelling correction options for the message. Any options specified on an individual message override the settings configured for the skill.
public Boolean debug()
Whether to return additional diagnostic information. Set to `true` to return additional information in the `output.debug` property. If you also specify **return_context**=`true`, the returned skill context includes the `system.state` property.
public Boolean returnContext()
Whether to return session context with the response. If you specify `true`, the response includes the `context` property. If you also specify **debug**=`true`, the returned skill context includes the `system.state` property.
public Boolean export()
Whether to return session context, including full conversation state. If you specify `true`, the response includes the `context` property, and the skill context includes the `system.state` property.
**Note:** If **export**=`true`, the context is returned regardless of the value of **return_context**.
Copyright © 2022 IBM Cloud. All rights reserved.