Menu
Lumberyard
Developer Guide (Version 1.11)

Speech Recognition Cloud Gem Portal (Preview)

You can use the Speech Recognition Cloud Gem Portal to import, export, and publish Amazon Lex bots.

Prerequisites

To use the Speech Recognition Cloud Gem Portal, you must meet the following requirements:

  • You are using a Lumberyard project that has the Speech Recognition Cloud Gem enabled. In the Lumberyard Project Configurator, select the CloudGemSamples project as the default project. If you want to use a different project, enable the Cloud Gem Speech Recognition [PREVIEW] and Microphone gems, and then rebuild your project.

  • You have used Cloud Canvas Resource Manager to create a project stack and deployment.

  • You have opened the Cloud Gem Portal. In Lumberyard Editor, choose AWS, Open Cloud Gem Portal.

Using the Speech Recognition Cloud Gem

To open the Speech Recognition Cloud Gem, choose Speech Recognition on the Cloud Gem Portal Cloud Gems page.


        Choose Speech Recognition

Creating a Bot

Currently, the Create Bot feature imports (but does not create) an Amazon Lex bot file in .json format. To create and edit bots, you can use the Amazon Lex console at https://console.aws.amazon.com/lex/.

The following image shows the LYTestBot sample after it has been imported. For steps on importing this sample bot, see Using the Speech Recognition Sample Level.


          Choose Create Bot

Exporting a Bot

To export a bot, choose Export from the menu for the bot. This action downloads a .json file that contains the bot definition.


          Export a bot

Publishing a Bot

Amazon Lex supports publishing versions of bots, intents, and slot types so that you can control the implementation that your client applications use. To publish a bot, choose Publish from the menu for the bot.


          Provide a bot alias

You must provide an Amazon Lex alias to publish a bot. An alias is a pointer to a specific version of a bot with which you can easily update the version that your client application uses. For more information about versioning and aliases, see Versioning and Aliases in the Amazon Lex Developer Guide.

Linking to the Amazon Lex Console

To configure additional settings directly in the Amazon Lex console, choose the Settings tab in the Cloud Gem Portal and follow the link to the Amazon Lex console.


          Linking to the Amazon Lex console

For information about using Amazon Lex, see the Amazon Lex Developer Guide.