Class MessageInputOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.MessageInputOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class MessageInputOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Optional properties that control how the assistant responds.
  • Method Details

    • newBuilder

      public MessageInputOptions.Builder newBuilder()
      New builder.
      Returns:
      a MessageInputOptions builder
    • restart

      public Boolean restart()
      Gets the 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.

      Returns:
      the restart
    • alternateIntents

      public Boolean alternateIntents()
      Gets the alternateIntents.

      Whether to return more than one intent. Set to `true` to return all matching intents.

      Returns:
      the alternateIntents
    • spelling

      public MessageInputOptionsSpelling spelling()
      Gets the spelling.

      Spelling correction options for the message. Any options specified on an individual message override the settings configured for the skill.

      Returns:
      the spelling
    • debug

      public Boolean debug()
      Gets the 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.

      Returns:
      the debug
    • returnContext

      public Boolean returnContext()
      Gets the 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.

      Returns:
      the returnContext
    • export

      public Boolean export()
      Gets the 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**.

      Returns:
      the export