/Alexa-Hindi-Skill

A beginner's guide to developing an Alexa Hindi Skill

Alexa-Hindi-Skill

A beginner's guide to developing an Alexa Hindi Skill

Alexa Hindi Skill has recently been launched to target a wider audience and knowing how to build one in Hindi is essential for better marketing

This repository guides you how to build a trivia game of chess using the Hindi language and if you're new to ASK a whole new realm is revealed to you. So, wacth closely as the closer you look the less you'll see.

Let's dive into it. Fisrt, you need an Amazon Alexa Developer account. You can create one easily. Next, you need to have an AWS account to run your code.

Create a new skill and enter the name this should be the same as your Invocation name which is the word that will activate your skill. Follow the selected options and then you need to build the Intents which are keywords that will generate responses. Select the language as Hindi.

    Set Invocation name for your skill
  • Select the “Invocation” tab.
  • Enter “ शतरंज” in the “Skill Invocation Name” field.
    • To create a custom intent we need to:
  • Click the “Add” sign near the “Intents” tab.
  • Select “Custom Intent”.
  • Enter “playerBio” in the field below.
  • Click the “Create custom intent” button.
    • To create an utterance:
  • Select the “playerBio” tab.
  • Enter the utterance text in the “Sample Utterances” filed in the form of “मुझे बताओ {player}”.
  • Create a new slot in the window, which pops up when “{}” is entered, by entering “player” in the “Create a new slot” field and by clicking the “Add” button.
  • Click the “plus” sign at the right end of the “Sample Utterances” field.
  • Click the “Add” sign within the “Slot Types” tab.
  • Select “Create custom slot type”.
  • Enter “playerNames” in the field below.
  • Click the “Create custom slot type” button.
  • Select “Slot Types” tab.
  • Enter the names in the “Slot Values” field.
  • Add names to the slot type by clicking the “plus” sign at the right end of the “Slot Values” field. Four names should be inserted: Bobby Fisher, Mikhail Tal, Jose Raul Capablanca and Garry Kasparov.
  • Select the “player” tab.
  • Choose the “playerNames” type from the “Slot Type” list.
  • Click the “Add” sign near the “Intents” tab.
  • Select “Use an existing intent from Alexa’s built-in library”.
  • Enter “NoIntent” in the search field.
  • Click the “+ Add intent” button.
  • The python code is in the reopsitory copy and paste in in the AWS Lambda console.

    Now the skill has been built and we need to test the skill which can be done using the console. That's it! you are good to go.