alliebailey / amazon-kendra-skill-sample-python

A tutorial on how to build an Alexa Skill I created during an internship with the Documentation team at Amazon Web Services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build an Alexa Skill that queries an Amazon Kendra index

Amazon Kendra is a powerful machine learning tool that can query a set of documents or HTML files. This tutorial shows how to integrate this service with an Alexa Skill in Python to build a seamless voice experience for document queries. Previous experience with Python and the Alexa Skills Kit is helpful, but not required, to follow this tutorial.

Concepts

This sample demonstrates how to use AWS resources with an Alexa-hosted Skill, including Amazon Kendra to query an index and Amazon Simple Notification Service (SNS) to send an email.

Prerequisites

Amazon Kendra

Before creating your Alexa Skill, you will need to set up an Amazon Kendra index to query from the skill. You can create an index through the Amazon Kendra console in your AWS Management Console. These instructions explain how to create an index. To make your skill most effective, consider adding FAQs to your index so Alexa returns the best answers to commonly asked questions. See Adding questions and answers directly to an index for more information.

Alexa Developer Console

You will also need an Amazon Developer account to access the Alexa Developer Console. If you don’t have an account, you can create one. After you’ve made an account, navigate to the Alexa Developer Console.

Additional Resources

If you aren’t familiar with Alexa Skills, consider starting with the Cake Time tutorial to learn about the different components of skill and practice building a simple skill. This tutorial will walk you through concepts like intents, slots, and handlers so you can jump into more complex concepts used in this skill. If you haven’t built a skill before, you will still be able to follow this tutorial.

Workshop

Once you've completed the prerequisites, you can start the tutorial here. Or, skip ahead to one of the modules below.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

A tutorial on how to build an Alexa Skill I created during an internship with the Documentation team at Amazon Web Services.

License:MIT No Attribution


Languages

Language:Python 100.0%