MessageContextSkillSystem
public struct MessageContextSkillSystem : Codable, Equatable
System context data used by the skill.
-
An encoded string that represents the current conversation state. By saving this value and then sending it in the context of a subsequent message request, you can 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 is expired.
Declaration
Swift
public var state: String?
-
Additional properties associated with this model.
Declaration
Swift
public var additionalProperties: [String : JSON]
-
Initialize a
MessageContextSkillSystem
with member variables.Declaration
Swift
public init( state: String? = nil, additionalProperties: [String: JSON] = [:] )
Parameters
state
An encoded string that represents the current conversation state. By saving this value and then sending it in the context of a subsequent message request, you can 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 is expired.
Return Value
An initialized
MessageContextSkillSystem
. -
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws