public class MessageRequest
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageRequest.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected MessageContext |
context |
protected MessageInput |
input |
Modifier | Constructor and Description |
---|---|
protected |
MessageRequest(MessageRequest.Builder builder) |
Modifier and Type | Method and Description |
---|---|
MessageContext |
context()
Gets the context.
|
MessageInput |
input()
Gets the input.
|
MessageRequest.Builder |
newBuilder()
New builder.
|
protected MessageInput input
protected MessageContext context
protected MessageRequest(MessageRequest.Builder builder)
public MessageRequest.Builder newBuilder()
public MessageInput input()
An input object that includes the input text.
public MessageContext context()
Context data for the conversation. You can use this property to set or modify context variables, which can also be accessed by dialog nodes. The context is stored by the assistant on a per-session basis.
**Note:** The total size of the context data stored for a stateful session cannot exceed 100KB.