Create Slot
lexmodelsv2_create_slot | R Documentation |
Creates a slot in an intent¶
Description¶
Creates a slot in an intent. A slot is a variable needed to fulfill an
intent. For example, an OrderPizza
intent might need slots for size,
crust, and number of pizzas. For each slot, you define one or more
utterances that Amazon Lex uses to elicit a response from the user.
Usage¶
lexmodelsv2_create_slot(slotName, description, slotTypeId,
valueElicitationSetting, obfuscationSetting, botId, botVersion,
localeId, intentId, multipleValuesSetting, subSlotSetting)
Arguments¶
slotName |
[required] The name of the slot. Slot names must be unique within the bot that contains the slot. |
description |
A description of the slot. Use this to help identify the slot in lists. |
slotTypeId |
The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot. |
valueElicitationSetting |
[required] Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot. |
obfuscationSetting |
Determines how slot values are used in Amazon CloudWatch logs. If
the value of the The default is to obfuscate values in the CloudWatch logs. |
botId |
[required] The identifier of the bot associated with the slot. |
botVersion |
[required] The version of the bot associated with the slot. |
localeId |
[required] The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see Supported languages. |
intentId |
[required] The identifier of the intent that contains the slot. |
multipleValuesSetting |
Indicates whether the slot returns multiple values in one
response. Multi-value slots are only available in the If the |
subSlotSetting |
Specifications for the constituent sub slots and the expression for the composite slot. |
Value¶
A list with the following syntax:
list(
slotId = "string",
slotName = "string",
description = "string",
slotTypeId = "string",
valueElicitationSetting = list(
defaultValueSpecification = list(
defaultValueList = list(
list(
defaultValue = "string"
)
)
),
slotConstraint = "Required"|"Optional",
promptSpecification = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
maxRetries = 123,
allowInterrupt = TRUE|FALSE,
messageSelectionStrategy = "Random"|"Ordered",
promptAttemptsSpecification = list(
list(
allowInterrupt = TRUE|FALSE,
allowedInputTypes = list(
allowAudioInput = TRUE|FALSE,
allowDTMFInput = TRUE|FALSE
),
audioAndDTMFInputSpecification = list(
startTimeoutMs = 123,
audioSpecification = list(
maxLengthMs = 123,
endTimeoutMs = 123
),
dtmfSpecification = list(
maxLength = 123,
endTimeoutMs = 123,
deletionCharacter = "string",
endCharacter = "string"
)
),
textInputSpecification = list(
startTimeoutMs = 123
)
)
)
),
sampleUtterances = list(
list(
utterance = "string"
)
),
waitAndContinueSpecification = list(
waitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
continueResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
stillWaitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
frequencyInSeconds = 123,
timeoutInSeconds = 123,
allowInterrupt = TRUE|FALSE
),
active = TRUE|FALSE
),
slotCaptureSetting = list(
captureResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
captureNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
captureConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
failureResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
failureNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
failureConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
codeHook = list(
enableCodeHookInvocation = TRUE|FALSE,
active = TRUE|FALSE,
invocationLabel = "string",
postCodeHookSpecification = list(
successResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
successNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
successConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
failureResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
failureNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
failureConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
timeoutResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
timeoutNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
timeoutConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
)
)
),
elicitationCodeHook = list(
enableCodeHookInvocation = TRUE|FALSE,
invocationLabel = "string"
)
),
slotResolutionSetting = list(
slotResolutionStrategy = "EnhancedFallback"|"Default"
)
),
obfuscationSetting = list(
obfuscationSettingType = "None"|"DefaultObfuscation"
),
botId = "string",
botVersion = "string",
localeId = "string",
intentId = "string",
creationDateTime = as.POSIXct(
"2015-01-01"
),
multipleValuesSetting = list(
allowMultipleValues = TRUE|FALSE
),
subSlotSetting = list(
expression = "string",
slotSpecifications = list(
list(
slotTypeId = "string",
valueElicitationSetting = list(
defaultValueSpecification = list(
defaultValueList = list(
list(
defaultValue = "string"
)
)
),
promptSpecification = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
maxRetries = 123,
allowInterrupt = TRUE|FALSE,
messageSelectionStrategy = "Random"|"Ordered",
promptAttemptsSpecification = list(
list(
allowInterrupt = TRUE|FALSE,
allowedInputTypes = list(
allowAudioInput = TRUE|FALSE,
allowDTMFInput = TRUE|FALSE
),
audioAndDTMFInputSpecification = list(
startTimeoutMs = 123,
audioSpecification = list(
maxLengthMs = 123,
endTimeoutMs = 123
),
dtmfSpecification = list(
maxLength = 123,
endTimeoutMs = 123,
deletionCharacter = "string",
endCharacter = "string"
)
),
textInputSpecification = list(
startTimeoutMs = 123
)
)
)
),
sampleUtterances = list(
list(
utterance = "string"
)
),
waitAndContinueSpecification = list(
waitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
continueResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
stillWaitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
frequencyInSeconds = 123,
timeoutInSeconds = 123,
allowInterrupt = TRUE|FALSE
),
active = TRUE|FALSE
)
)
)
)
)
)
Request syntax¶
svc$create_slot(
slotName = "string",
description = "string",
slotTypeId = "string",
valueElicitationSetting = list(
defaultValueSpecification = list(
defaultValueList = list(
list(
defaultValue = "string"
)
)
),
slotConstraint = "Required"|"Optional",
promptSpecification = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
maxRetries = 123,
allowInterrupt = TRUE|FALSE,
messageSelectionStrategy = "Random"|"Ordered",
promptAttemptsSpecification = list(
list(
allowInterrupt = TRUE|FALSE,
allowedInputTypes = list(
allowAudioInput = TRUE|FALSE,
allowDTMFInput = TRUE|FALSE
),
audioAndDTMFInputSpecification = list(
startTimeoutMs = 123,
audioSpecification = list(
maxLengthMs = 123,
endTimeoutMs = 123
),
dtmfSpecification = list(
maxLength = 123,
endTimeoutMs = 123,
deletionCharacter = "string",
endCharacter = "string"
)
),
textInputSpecification = list(
startTimeoutMs = 123
)
)
)
),
sampleUtterances = list(
list(
utterance = "string"
)
),
waitAndContinueSpecification = list(
waitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
continueResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
stillWaitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
frequencyInSeconds = 123,
timeoutInSeconds = 123,
allowInterrupt = TRUE|FALSE
),
active = TRUE|FALSE
),
slotCaptureSetting = list(
captureResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
captureNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
captureConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
failureResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
failureNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
failureConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
codeHook = list(
enableCodeHookInvocation = TRUE|FALSE,
active = TRUE|FALSE,
invocationLabel = "string",
postCodeHookSpecification = list(
successResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
successNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
successConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
failureResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
failureNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
failureConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
timeoutResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
timeoutNextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
timeoutConditional = list(
active = TRUE|FALSE,
conditionalBranches = list(
list(
name = "string",
condition = list(
expressionString = "string"
),
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
),
defaultBranch = list(
nextStep = list(
dialogAction = list(
type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
slotToElicit = "string",
suppressNextMessage = TRUE|FALSE
),
intent = list(
name = "string",
slots = list(
list(
shape = "Scalar"|"List",
value = list(
interpretedValue = "string"
),
values = list(
list()
)
)
)
),
sessionAttributes = list(
"string"
)
),
response = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
)
)
)
)
),
elicitationCodeHook = list(
enableCodeHookInvocation = TRUE|FALSE,
invocationLabel = "string"
)
),
slotResolutionSetting = list(
slotResolutionStrategy = "EnhancedFallback"|"Default"
)
),
obfuscationSetting = list(
obfuscationSettingType = "None"|"DefaultObfuscation"
),
botId = "string",
botVersion = "string",
localeId = "string",
intentId = "string",
multipleValuesSetting = list(
allowMultipleValues = TRUE|FALSE
),
subSlotSetting = list(
expression = "string",
slotSpecifications = list(
list(
slotTypeId = "string",
valueElicitationSetting = list(
defaultValueSpecification = list(
defaultValueList = list(
list(
defaultValue = "string"
)
)
),
promptSpecification = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
maxRetries = 123,
allowInterrupt = TRUE|FALSE,
messageSelectionStrategy = "Random"|"Ordered",
promptAttemptsSpecification = list(
list(
allowInterrupt = TRUE|FALSE,
allowedInputTypes = list(
allowAudioInput = TRUE|FALSE,
allowDTMFInput = TRUE|FALSE
),
audioAndDTMFInputSpecification = list(
startTimeoutMs = 123,
audioSpecification = list(
maxLengthMs = 123,
endTimeoutMs = 123
),
dtmfSpecification = list(
maxLength = 123,
endTimeoutMs = 123,
deletionCharacter = "string",
endCharacter = "string"
)
),
textInputSpecification = list(
startTimeoutMs = 123
)
)
)
),
sampleUtterances = list(
list(
utterance = "string"
)
),
waitAndContinueSpecification = list(
waitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
continueResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
allowInterrupt = TRUE|FALSE
),
stillWaitingResponse = list(
messageGroups = list(
list(
message = list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
),
variations = list(
list(
plainTextMessage = list(
value = "string"
),
customPayload = list(
value = "string"
),
ssmlMessage = list(
value = "string"
),
imageResponseCard = list(
title = "string",
subtitle = "string",
imageUrl = "string",
buttons = list(
list(
text = "string",
value = "string"
)
)
)
)
)
)
),
frequencyInSeconds = 123,
timeoutInSeconds = 123,
allowInterrupt = TRUE|FALSE
),
active = TRUE|FALSE
)
)
)
)
)
)