Values.PromptSpecificationSourceSpecifies a list of message groups that Amazon Lex sends to a user to elicit a response.
type nonrec t = {messageGroups : MessageGroupsList.t;A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
*)maxRetries : PromptMaxRetries.t;The maximum number of times the bot tries to elicit a response from the user using this prompt.
*)allowInterrupt : BoxedBoolean.t option;Indicates whether the user can interrupt a speech prompt from the bot.
*)messageSelectionStrategy : MessageSelectionStrategy.t option;Indicates how a message is selected from a message group among retries.
*)promptAttemptsSpecification : PromptAttemptsSpecificationMap.t option;Specifies the advanced settings on each attempt of the prompt.
*)}val make :
?allowInterrupt:??? ->
?messageSelectionStrategy:??? ->
?promptAttemptsSpecification:??? ->
messageGroups:MessageGroupsList.t ->
maxRetries:PromptMaxRetries.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Integer of PromptMaxRetries.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
ButtonText.t ])
list ]
list
| `String of PlainTextMessageValue.t ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of ButtonText.t ])
list ]
list
| `String of PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `Enum of string ]
* [> `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of TimeInMilliSeconds.t
| `Structure of
(string
* [> `Integer of TimeInMilliSeconds.t
| `String of DTMFCharacter.t ])
list ])
list ])
list ])
list ])
list ]