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 |
asyncCallout()
Gets the asyncCallout.
|
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 Boolean asyncCallout()
Whether custom extension callouts are executed asynchronously. Asynchronous execution means the response to the extension callout will be processed on the subsequent message call, the initial message response signals to the client that the operation may be long running. With synchronous execution the custom extension is executed and returns the response in a single message turn. **Note:** **async_callout** defaults to true for API versions earlier than 2023-06-15.
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 © 2024 IBM Cloud. All rights reserved.