Generate Bot Element
lexmodelsv2_generate_bot_element | R Documentation |
Generates sample utterances for an intent¶
Description¶
Generates sample utterances for an intent.
Usage¶
lexmodelsv2_generate_bot_element(intentId, botId, botVersion, localeId)
Arguments¶
intentId |
[required] The intent unique Id for the bot request to generate utterances. |
botId |
[required] The bot unique Id for the bot request to generate utterances. |
botVersion |
[required] The bot version for the bot request to generate utterances. |
localeId |
[required] The unique locale Id for the bot request to generate utterances. |
Value¶
A list with the following syntax:
list(
botId = "string",
botVersion = "string",
localeId = "string",
intentId = "string",
sampleUtterances = list(
list(
utterance = "string"
)
)
)
Request syntax¶
svc$generate_bot_element(
intentId = "string",
botId = "string",
botVersion = "string",
localeId = "string"
)