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 | Method and Description |
---|---|
Boolean |
autoCorrect()
Gets the autoCorrect.
|
MessageInputOptionsSpelling.Builder |
newBuilder()
New builder.
|
Boolean |
suggestions()
Gets the suggestions.
|
public MessageInputOptionsSpelling.Builder newBuilder()
public 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 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.
Copyright © 2021 IBM Cloud. All rights reserved.