Skip to content

Start Bot Resource Generation

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

Description

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.

Usage

lexmodelsv2_start_bot_resource_generation(generationInputPrompt, botId,
  botVersion, localeId)

Arguments

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.

Value

A list with the following syntax:

list(
  generationInputPrompt = "string",
  generationId = "string",
  botId = "string",
  botVersion = "string",
  localeId = "string",
  generationStatus = "Failed"|"Complete"|"InProgress",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$start_bot_resource_generation(
  generationInputPrompt = "string",
  botId = "string",
  botVersion = "string",
  localeId = "string"
)