public class MessageOutputSpelling
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
MessageOutputSpelling() |
Modifier and Type | Method and Description |
---|---|
String |
getOriginalText()
Gets the originalText.
|
String |
getSuggestedText()
Gets the suggestedText.
|
String |
getText()
Gets the text.
|
public String getText()
The user input text that was used to generate the response. If spelling autocorrection is enabled, this text reflects any spelling corrections that were applied.
public String getOriginalText()
The original user input text. This property is returned only if autocorrection is enabled and the user input was corrected.
public String getSuggestedText()
Any suggested corrections of the input text. This property is returned only if spelling correction is enabled and autocorrection is disabled.
Copyright © 2022 IBM Cloud. All rights reserved.