Sunday, 11 March 2018

Amazon Lex

Overview
  • Managed service for building conversational interfaces (bots)
  • Same engine as Alexa
  • Recognizes voice/text
  • Uses Amazon Polly for text-to-speech
  • Use cases
    • Informational bot
    • Application/Transactional bot (e.g. ordering pizza)
    • Enterprise Productivity bot  - connect to custom data sources
    • Device control bot
  • Integrated with Messaging platforms
    • e.g. Slack, Skype, Messenger


Model
  • Intent - actions to be fulfilled by the bot (e.g. book a hotel)
    • Sample utterances
      • Phrases that invoke intents
        • Text or voice
      • Do not need to be exact
      • Example
        • "Can I make a reservation?"
    • Slots
      • Input data to fulfill the intent
    • Prompts
      • Way to elicit answer for the slot
      • Example ("time")
        • "What time do you want to go to cinema?
    • Fulfillment
      • Call to Lambda

No comments:

Post a Comment