Class MessageOutput
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.MessageOutput
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MessageOutput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Assistant output to be rendered or processed by the client.
-
Constructor Summary
Constructors Constructor Description MessageOutput()
-
Method Summary
Modifier and Type Method Description List<DialogNodeAction>
getActions()
Gets the actions.MessageOutputDebug
getDebug()
Gets the debug.List<RuntimeEntity>
getEntities()
Gets the entities.List<RuntimeResponseGeneric>
getGeneric()
Gets the generic.List<RuntimeIntent>
getIntents()
Gets the intents.MessageOutputSpelling
getSpelling()
Gets the spelling.Map<String,Object>
getUserDefined()
Gets the userDefined.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
MessageOutput
public MessageOutput()
-
-
Method Details
-
getGeneric
Gets the generic.Output intended for any channel. It is the responsibility of the client application to implement the supported response types.
- Returns:
- the generic
-
getIntents
Gets the intents.An array of intents recognized in the user input, sorted in descending order of confidence.
- Returns:
- the intents
-
getEntities
Gets the entities.An array of entities identified in the user input.
- Returns:
- the entities
-
getActions
Gets the actions.An array of objects describing any actions requested by the dialog node.
- Returns:
- the actions
-
getDebug
Gets the debug.Additional detailed information about a message response and how it was generated.
- Returns:
- the debug
-
getUserDefined
Gets the userDefined.An object containing any custom properties included in the response. This object includes any arbitrary properties defined in the dialog JSON editor as part of the dialog node output.
- Returns:
- the userDefined
-
getSpelling
Gets the spelling.Properties describing any spelling corrections in the user input that was received.
- Returns:
- the spelling
-