Muutke küpsiste eelistusi

E-raamat: Data-Driven Alexa Skills: Voice Access to Rich Data Sources for Enterprise Applications

  • Formaat: EPUB+DRM
  • Ilmumisaeg: 16-Nov-2021
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484274491
  • Formaat - EPUB+DRM
  • Hind: 67,91 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: EPUB+DRM
  • Ilmumisaeg: 16-Nov-2021
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484274491

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Intermediate user level

Design and build innovative, custom, data-driven Alexa skills for home or business. Working through several projects, this book teaches you how to build Alexa skills and integrate them with online APIs. If you have basic Python skills, this book will show you how to build data-driven Alexa skills. You will learn to use data to give your Alexa skills dynamic intelligence, in-depth knowledge, and the ability to remember.

Data-Driven Alexa Skills takes a step-by-step approach to skill development. You will begin by configuring simple skills in the Alexa Skill Builder Console. Then you will develop advanced custom skills that use several Alexa Skill Development Kit features to integrate with lambda functions, Amazon Web Services (AWS), and Internet data feeds. These advanced skills enable you to link user accounts, query and store data using a NoSQL database, and access real estate listings and stock prices via web APIs.



What You Will Learn
  • Set up and configure your development environment properly the first time
  • Build Alexa skills quickly and efficiently using Agile tools and techniques
  • Create a variety of data-driven Alexa skills for home and business
  • Access data from web applications and Internet data sources via their APIs
  • Test with unit-testing frameworks throughout the development life cycle
  • Manage and query your data using the DynamoDb NoSQL database engines

Who This Book Is For

Developers who wish to go beyond Hello World and build complex, data-driven applications on Amazon's Alexa platform; developers who want to learn how to use Lambda functions, the Alexa Skills SDK, Alexa Presentation Language, and Alexa Conversations; developers interested in integrating with public APIs such as real estate listings and stock market prices. Readers will need to have basic Python skills.


About the Author xiii
About the Technical Reviewer xv
Acknowledgments xvii
Introduction xix
Part I Getting Started
1(142)
Chapter 1 Voice User Interfaces
3(12)
Why Voice User Interfaces?
3(1)
A Brief History of VUIs
4(4)
Today's VUI Landscape
8(3)
Smart Homes
11(2)
Why Voice? Why Alexa? Why Now?
13(1)
Summary
14(1)
Chapter 2 Routines and Blueprints
15(12)
What Is Alexa?
15(1)
Alexa Routines
16(2)
Alexa Blueprints
18(7)
Summary
25(2)
Chapter 3 The Developer Accounts
27(18)
Creating the Developer Accounts
27(1)
Amazon Account
28(1)
Alexa Developer Account
29(1)
AWS Developer Account
30(3)
IAM and Account Security
33(9)
GitHub Access
42(1)
Jira Account
42(2)
Summary
44(1)
Chapter 4 Creating the VUI for a Custom Data-Driven Skill
45(42)
Step 1 Create the Base Skill
45(5)
The Skill Builder Interface
50(3)
Step 2 Configure the VUI
53(32)
Invocation Name
53(1)
The Interaction Model
54(2)
Slots
56(2)
Creating the Custom Slot Values
58(15)
Configuring the Dialog
73(12)
Summary
85(2)
Chapter 5 Writing the Back-End Code
87(32)
Installing the Tools
87(2)
Installing the Python Modules
89(2)
Writing the Code
91(4)
The Code We Have in the Template
91(2)
The Lambda Function
93(2)
The Changes We Need to Make
95(14)
Changing the Launch Request Handler
96(1)
Creating the Helper Functions
97(2)
Creating the Calculate BMI API Handler
99(5)
Creating the Intent Handler
104(3)
The Calculate BMI Method
107(1)
Add the Request Handlers to the Skill Builder
108(1)
Testing the Completed Skill
109(8)
Setting Up the Debug Environment
109(4)
Testing the Skill
113(4)
Summary
117(2)
Chapter 6 Publishing an Alexa Skill
119(24)
The Process
119(1)
Distribution and Validation
119(10)
Skill Preview
121(5)
Privacy and Compliance
126(2)
Testing Instructions
128(1)
The Certification Checklist
129(7)
Alexa Policies
130(4)
Testing Your Custom Skill for Certification
134(2)
Availability
136(2)
Validation
138(1)
Submission
138(1)
Rejection? Now What?
139(2)
Summary
141(2)
Part II Custom Skill Development
143(184)
Chapter 7 Custom Alexa Skills
145(28)
Alexa Hosted vs. Fully Custom
145(1)
Our New Skill
146(1)
The 90-Year Calendar
147(3)
VUI Design
150(1)
Creating the Alexa Skill
151(2)
DynamoDb
153(2)
S3 Storage
155(2)
Account Linking
157(6)
The Application Security Profile
158(2)
Configure Account Linking
160(3)
The Lambda Function
163(8)
Creating the Security Role
163(5)
Creating the Lambda Function
168(3)
Summary
171(2)
Chapter 8 Beyond Hello World
173(32)
VUI Design
176(3)
VUI Design with Botmock
179(1)
Launch Response
180(1)
Intents
181(5)
Happy Path
186(5)
The Over 90 Path
191(3)
Adding a Prompt
194(1)
Adding the No Intent
195(1)
Saying Goodbye
195(1)
What Do You Want to Do?
196(1)
Linked vs. Unlinked Accounts
197(1)
Getting the Event
198(3)
What Happens Next?
201(3)
Summary
204(1)
Chapter 9 Configuring the VUI
205(10)
Exporting the Botmock Diagram
205(5)
Creating the Skill
210(1)
Cleaning Up the Dialog Model
211(3)
Summary
214(1)
Chapter 10 Using APL to Present on Screens
215(28)
The APL Editor
215(3)
The 90-Year Calendar UI
218(19)
Configuring the Imports for the Document
222(1)
Drawing the Three Zones
223(9)
Parameterizing the Height and Width
232(2)
Scaling the Boxes and Rows to Fit
234(3)
The Finished APL Code
237(5)
Summary
242(1)
Chapter 11 Coding the Lambda Function
243(26)
Hook Up the VUI to the Lambda Function
244(1)
Creating the Intent Handlers
245(11)
The Structure of an Intent Handler
245(2)
Building Out the Intent Handlers
247(9)
Calculate 90-Year Calendar Values
256(4)
Define the Dataset for the 90-Year Calendar
260(1)
Scale the Visuals to the Current Screen
261(2)
Return the Rendered APL and Response
263(4)
Defining the Skill Builder
267(1)
Summary
268(1)
Chapter 12 Unit Testing an Alexa Skill
269(28)
Unit Testing the Lambda Function
269(7)
Unit Testing the Launch Intent
269(7)
Unit Testing the Give Birthday Intent
276(12)
Testing in the Alexa Simulator
276(4)
Testing Give Birthday in the Lambda Function
280(8)
Using the Utterance Profiler
288(8)
NLU Evaluation
290(3)
ASR Evaluation
293(3)
Summary
296(1)
Chapter 13 Storing the Data
297(30)
Account Linking and Access Tokens
299(9)
Linking Your Development Account
299(5)
Checking If an Account Is Linked
304(2)
Getting the Access Token
306(2)
Getting the User Profile from DynamoDB
308(2)
A Trio of Launch Request Handlers
310(4)
Adding the Yes Intent Handler
314(2)
Using Cards in the Response
314(2)
Saving the User's Profile
316(3)
Adding the View Calendar Intent
319(6)
Testing the View Calendar Intent
322(3)
What You Can Do Next
325(1)
Summary
326(1)
Part III Using APIs in Advanced Skills
327(80)
Chapter 14 A Personal Net Worth Skill
329(36)
Requirements
329(1)
VUI Design
330(6)
Creating the Personal Net Worth Skill
336(1)
Creating the Lambda Function
337(7)
The Give Address Intents
344(9)
The Give Stock Intent
353(3)
The Yes/No Intents
356(6)
The No More Intent
362(2)
Summary
364(1)
Chapter 15 The Real Estate API
365(22)
Application Programming Interfaces
365(1)
The Real Estate Valuation API
366(5)
Adding the Give Home Stats Intent
371(6)
Back to the Real Estate API
377(8)
Testing the API Call
381(4)
Summary
385(2)
Chapter 16 The Stock Market API
387(18)
The Yahoo Finance API
387(1)
The Alpha Vantage API
388(2)
The Stock API Module
390(14)
Adding a Delay to the For Loop
393(1)
The Completed GetStockValue Function
393(2)
Unit Testing the GetStockValue Function
395(9)
What Can I Do Next?
404(1)
Summary
404(1)
Chapter 17 What's Next?
405(2)
Conclusion
405(1)
What's Next?
405(2)
Index 407
Simon Kingaby is a software developer, programming professor, and public speaker residing in middle Tennessee. He believes that voice user interfaces will change the world and that tools like Alexa are just the tip of the iceberg. He spends his days moving data for Deloitte Global and teaching DataViz and FinTech at Vanderbilt University. In 2016, he published his first Alexa skill and has been enthralled by voice development ever since. In 2017, his uncle suddenly went blind and Simon began exploring ways Alexa could be used to help the blind by developing skills from Whats the time? and home navigation skills to smart home skills like Turn on the coffee pot." In 2019 that same uncle committed suicide, and Simon turned his attention to mental health issues and using Alexa to help identify and prevent suicidal behavior. Now he is focused on enabling developers to use their programming abilities to build data-driven Alexa skills that will make a real difference in the world.