Class MessageInputStateless
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.MessageInputStateless
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MessageInputStateless
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An input object that includes the input text.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageInputStateless.Builder
Builder.static interface
MessageInputStateless.MessageType
The type of user input. -
Method Summary
Modifier and Type Method Description List<RuntimeEntity>
entities()
Gets the entities.List<RuntimeIntent>
intents()
Gets the intents.String
messageType()
Gets the messageType.MessageInputStateless.Builder
newBuilder()
New builder.MessageInputOptionsStateless
options()
Gets the options.String
suggestionId()
Gets the suggestionId.String
text()
Gets the text.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a MessageInputStateless builder
-
messageType
Gets the messageType.The type of user input. Currently, only text input is supported.
- Returns:
- the messageType
-
text
Gets the text.The text of the user input. This string cannot contain carriage return, newline, or tab characters.
- Returns:
- the text
-
intents
Gets the intents.Intents to use when evaluating the user input. Include intents from the previous response to continue using those intents rather than trying to recognize intents in the new input.
- Returns:
- the intents
-
entities
Gets the entities.Entities to use when evaluating the message. Include entities from the previous response to continue using those entities rather than detecting entities in the new input.
- Returns:
- the entities
-
suggestionId
Gets the suggestionId.For internal use only.
- Returns:
- the suggestionId
-
options
Gets the options.Optional properties that control how the assistant responds.
- Returns:
- the options
-