Values.OutputContextSourceThe specification of an output context that is set when an intent is fulfilled.
type nonrec t = {name : OutputContextName.t;The name of the context.
*)timeToLiveInSeconds : ContextTimeToLiveInSeconds.t;The number of seconds that the context should be active after it is first sent in a PostContent or PostText response. You can set the value between 5 and 86,400 seconds (24 hours).
*)turnsToLive : ContextTurnsToLive.t;The number of conversation turns that the context should be active. A conversation turn is one PostContent or PostText request and the corresponding response from Amazon Lex.
*)}val make :
name:OutputContextName.t ->
timeToLiveInSeconds:ContextTimeToLiveInSeconds.t ->
turnsToLive:ContextTurnsToLive.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of ContextTimeToLiveInSeconds.t
| `String of OutputContextName.t ])
list ]