Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hey, Alexa! - Wie APIs das alltägliche Leben erobern

Hey, Alexa! - Wie APIs das alltägliche Leben erobern

Eines ist sicher: Die Verbreitung von APIs schreitet voran. Für manche Anwendungsfälle offensichtlich und merklich spürbar – für andere eher im Verborgenen. In diesem Abendvortrag wollen Manuel Rauber und Christian Weyer in entspannter Atmosphäre einen kurzen Einblick in die Programmierung von Amazons Echo mit dessen diversen APIs wie dem Alexa Sprachservice zum Besten geben. Vielleicht steht ja bereits ein solches oder ähnliches Gerät in Ihrem Wohnzimmer? Dann lassen Sie uns doch ein bisschen programmieren und Alexa unseren Abend ein Stück weit angenehmer machen – ob das klappt?

GitHub: https://github.com/thinktecture/api-summit-2017-apis-at-home

Manuel Rauber

June 19, 2017
Tweet

More Decks by Manuel Rauber

Other Decks in Programming

Transcript

  1. “Hey, Alexa!”
    Wie APIs das alltägliche Leben erobern
    Manuel Rauber
    @manuelrauber
    Consultant
    Christian Weyer
    @christianweyer
    Vorstand
    Valentin Weyer

    View full-size slide

  2. Christian Weyer
    ! @christianweyer
    " https://thinktecture.com
    Co-founder, co-owner and
    principal consultant at
    Thinktecture AG
    Manuel Rauber
    ! @manuelrauber
    " https://manuel-rauber.com
    Consultant at Thinktecture AG
    Hey, Alexa!
    Wie APIs das alltägliche Leben erobern
    Speakers

    View full-size slide

  3. Topics
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  4. Disclaimer
    We are not affiliated with Amazon,
    whatsoever
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  5. APIs everywhere
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  6. § APIs are everywhere – or rather: should be everywhere
    § „APIs FTW!“
    § Internet-of-Things (IoT) only really works with APIs
    § HTTPS, WebSockets, AMQP etc.
    § Security is key, really! J
    § BTW: https://www.programmableweb.com/ has some nice public APIs
    to play with
    API-ification
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  7. Voice User Interfaces
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  8. § We always need a client ➡ use cases define the interactions
    § Talk to the client application, rather than use a mouse or a finger
    § Voice user interfaces are not yet as ubiquitous
    § We need different UX ➡ we still need to learn
    § Siri, Cortana, Alexa, Bixby etc. are already here
    § Can be used in any kind of application
    § Bots backed by artificial intelligence can leverage voice services as
    their input interface / API
    It is all about the use cases
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  9. Voice-enabled
    personal assistants
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  10. § They are spreading like crazy
    Google, Apple & Co.
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  11. § Amazon‘s entry into the game
    Amazon Echo & Echo Dot
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  12. Amazon Alexa
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  13. § ”Intelligent” personal assistant
    § Alexa Voice Services
    § Open for custom services & 3rd party device integration
    § “AVS-enabled product”
    § “Alexa-enabled product”
    § https://github.com/alexa/alexa-avs-sample-app/wiki/Raspberry-Pi
    § Like Microsoft’s Cognitive Services or Google’s Speech API
    § MS currently has the broadest set of APIs
    § Used by Amazon Lex
    § Provides speech recognition & natural language understanding
    § For building conversational interfaces (e.g. chatbots)
    Amazon Alexa
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  14. Skills Programming
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  15. § Two developer accounts
    § aws.amazon.com
    § developer.amazon.com
    § AWS: Lambda Function
    § Code is done directly in AWS or locally
    § Upload is needed when developing locally
    § Debugging is PITA
    § Developer: Alexa Skill & Interaction Building
    § Intent
    § Utterance
    § Slots
    Basic Alexa Skill programming
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  16. “Real World” Demo
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  17. Hey, Alexa!
    Wie APIs das alltägliche Leben erobern
    Alexa Mindstorms EV3 Demo - Architecture

    View full-size slide

  18. EV3 on steroids
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  19. § Debian Linux-based operating system
    § Runs on several LEGO® MINDSTORMS compatible platforms
    § Full development environment available
    § http://www.ev3dev.org
    § Python is best suited to build & run
    custom code
    ev3dev
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide

  20. Thank you!
    Questions?
    Demo Repository
    Hey, Alexa!
    https://github.com/thinktecture/api-summit-2017-apis-at-home
    Manuel Rauber
    @manuelrauber
    Consultant
    Christian Weyer Valentin Weyer
    @christianweyer
    Vorstand

    View full-size slide

  21. § https://www.tvstreamingbox.de/wp-
    content/uploads/2016/10/amazon-echo-dot-vergleich2.jpg
    § https://lh3.googleusercontent.com/Nu3a6F80WfixUqf_ec_vgXy_c0-
    0r4VLJRXjVFF_X_CIilEu8B9fT35qyTEj_PEsKw
    § http://static2.businessinsider.com/image/59360bcc79474cc32c8b6a4
    a-480/apple-homepod-white-and-black.jpg
    § https://images-na.ssl-images-
    amazon.com/images/I/41KR41NgCWL.jpg
    Image resources
    Wie APIs das alltägliche Leben erobern
    Hey, Alexa!

    View full-size slide