public class MessageInputStateless
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageInputStateless.Builder
Builder.
|
static interface |
MessageInputStateless.MessageType
The type of user input.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RuntimeEntity> |
entities |
protected java.util.List<RuntimeIntent> |
intents |
protected java.lang.String |
messageType |
protected MessageInputOptionsStateless |
options |
protected java.lang.String |
suggestionId |
protected java.lang.String |
text |
Modifier | Constructor and Description |
---|---|
protected |
MessageInputStateless(MessageInputStateless.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RuntimeEntity> |
entities()
Gets the entities.
|
java.util.List<RuntimeIntent> |
intents()
Gets the intents.
|
java.lang.String |
messageType()
Gets the messageType.
|
MessageInputStateless.Builder |
newBuilder()
New builder.
|
MessageInputOptionsStateless |
options()
Gets the options.
|
java.lang.String |
suggestionId()
Gets the suggestionId.
|
java.lang.String |
text()
Gets the text.
|
@SerializedName(value="message_type") protected java.lang.String messageType
protected java.lang.String text
protected java.util.List<RuntimeIntent> intents
protected java.util.List<RuntimeEntity> entities
@SerializedName(value="suggestion_id") protected java.lang.String suggestionId
protected MessageInputOptionsStateless options
protected MessageInputStateless(MessageInputStateless.Builder builder)
public MessageInputStateless.Builder newBuilder()
public java.lang.String messageType()
The type of user input. Currently, only text input is supported.
public java.lang.String text()
The text of the user input. This string cannot contain carriage return, newline, or tab characters.
public java.util.List<RuntimeIntent> 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.
public java.util.List<RuntimeEntity> 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.
public java.lang.String suggestionId()
For internal use only.
public MessageInputOptionsStateless options()
Optional properties that control how the assistant responds.