public class MessageResponseStateless
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected MessageContextStateless |
context |
protected MessageOutput |
output |
Constructor and Description |
---|
MessageResponseStateless() |
Modifier and Type | Method and Description |
---|---|
MessageContextStateless |
getContext()
Gets the context.
|
MessageOutput |
getOutput()
Gets the output.
|
protected MessageOutput output
protected MessageContextStateless context
public MessageOutput getOutput()
Assistant output to be rendered or processed by the client.
public MessageContextStateless getContext()
Context data for the conversation. You can use this property to access context variables. The context is not stored by the assistant; to maintain session state, include the context from the response in the next message.