public class MessageInputOptionsSpelling
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageInputOptionsSpelling.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
autoCorrect |
protected java.lang.Boolean |
suggestions |
Modifier | Constructor and Description |
---|---|
protected |
MessageInputOptionsSpelling(MessageInputOptionsSpelling.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
autoCorrect()
Gets the autoCorrect.
|
MessageInputOptionsSpelling.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
suggestions()
Gets the suggestions.
|
protected java.lang.Boolean suggestions
@SerializedName(value="auto_correct") protected java.lang.Boolean autoCorrect
protected MessageInputOptionsSpelling(MessageInputOptionsSpelling.Builder builder)
public MessageInputOptionsSpelling.Builder newBuilder()
public java.lang.Boolean suggestions()
Whether to use spelling correction when processing the input. If spelling correction is used and **auto_correct** is `true`, any spelling corrections are automatically applied to the user input. If **auto_correct** is `false`, any suggested corrections are returned in the **output.spelling** property.
This property overrides the value of the **spelling_suggestions** property in the workspace settings for the skill.
public java.lang.Boolean autoCorrect()
Whether to use autocorrection when processing the input. If this property is `true`, any corrections are automatically applied to the user input, and the original text is returned in the **output.spelling** property of the message response. This property overrides the value of the **spelling_auto_correct** property in the workspace settings for the skill.