Values.ActiveContextSourceA context is a variable that contains information about the current state of the conversation between a user and Amazon Lex. Context can be set automatically by Amazon Lex when an intent is fulfilled, or it can be set at runtime using the PutContent, PutText, or PutSession operation.
type nonrec t = {name : ActiveContextName.t;The name of the context.
*)timeToLive : ActiveContextTimeToLive.t;The length of time or number of turns that a context remains active.
*)parameters : ActiveContextParametersMap.t;State variables for the current context. You can use these values as default values for slots in subsequent events.
*)}val make :
name:ActiveContextName.t ->
timeToLive:ActiveContextTimeToLive.t ->
parameters:ActiveContextParametersMap.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of ParameterName.t ] * [> `String of Text.t ]) list
| `String of ActiveContextName.t
| `Structure of
(string * [> `Integer of ActiveContextTimeToLiveInSeconds.t ]) list ])
list ]