View source: R/lexmodelsv2_operations.R
lexmodelsv2_start_bot_resource_generation | R Documentation |
Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the describe_bot_resource_generation
operation to check on the status of the generation and for the generatedBotLocaleUrl
when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_start_bot_resource_generation/ for full documentation.
lexmodelsv2_start_bot_resource_generation(
generationInputPrompt,
botId,
botVersion,
localeId
)
generationInputPrompt |
[required] The prompt to generate intents and slot types for the bot locale. Your description should be both detailed and precise to help generate appropriate and sufficient intents for your bot. Include a list of actions to improve the intent creation process. |
botId |
[required] The unique identifier of the bot for which to generate intents and slot types. |
botVersion |
[required] The version of the bot for which to generate intents and slot types. |
localeId |
[required] The locale of the bot for which to generate intents and slot types. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.