public class MessageContextSkillSystem
extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
state |
Constructor and Description |
---|
MessageContextSkillSystem() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getState()
Gets the state.
|
void |
setState(java.lang.String state)
Sets the state.
|
public java.lang.String getState()
An encoded string representing the current conversation state. By saving this value and then sending it in the context of a subsequent message request, you can restore the conversation to the same state. This can be useful if you need to return to an earlier point in the conversation. If you are using stateful sessions, you can also use a stored state value to restore a paused conversation whose session has expired.
public void setState(java.lang.String state)
state
- the new state