Class MessageInputOptionsSpelling
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MessageInputOptionsSpelling
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageInputOptionsSpelling.Builder
Builder. -
Method Summary
Modifier and Type Method Description Boolean
autoCorrect()
Gets the autoCorrect.MessageInputOptionsSpelling.Builder
newBuilder()
New builder.Boolean
suggestions()
Gets the suggestions.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a MessageInputOptionsSpelling builder
-
suggestions
Gets the 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.
- Returns:
- the suggestions
-
autoCorrect
Gets the 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.
- Returns:
- the autoCorrect
-