AI assistants are getting a great deal of attention from the industry as well as the research. However, the majority of assistants built to this day are still developed using a state machine and a set of rules. That doesn’t scale in production.
Justina Petraityte offers a hands-on walk-through of developing intelligent AI assistants without any predefined rules, based entirely on machine learning and using only the open source tools Rasa NLU and Rasa Core. You’ll learn the fundamentals of conversational AI and best practices for developing AI assistants that scale and learn from real conversational data.
Stage 1: Natural language understanding
You’ll start with language understanding, bootstrapping from very little annotated training data. In this stage, you’ll also tackle the challenges of going beyond pretrained word vectors for NLU and enabling the assistant to capture more than one intention per user input.
Stage 2: Dialogue management
You’ll use machine learning to build the AI assistant’s ability to handle increasingly complex multiturn dialogues based on the actual conversational data. You’ll also enable the assistant to actually complete user-requested tasks by connecting the assistant to external APIs and using the knowledge of the outside world to steer the conversation.
Stage 3: Closing the feedback loop
In the last section, you’ll close the feedback loop by improving the performance of the assistant by using the interactive learning and a real-time user feedback.
Justina Petraityte is a developer advocate at Berlin-based startup Rasa, where she helps improve the developer experience in using open source software for conversational AI. Justina has a background in econometrics and data analytics, and her interests include chatbots, natural language processing, and open source. Her curiosity for data science and human-behavior analytics has taken her to many places and industries; over the past three years, she’s worked in the video gaming, fintech, and insurance industries.
©2019, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • firstname.lastname@example.org