Conversation-Driven
Development
Alan Nichol | co-founder, CTO @ Rasa
July 2020
Agenda
CONVERSATION DRIVEN DEVELOPMENT
● About Rasa
● Conversation Driven Development
● CDD in Practice
● Q&A
Housekeeping
● Please keep yourself muted and your camera turned off
● Use the Zoom chat to ask questions. We’ll answer
questions at the end, but you can ask your questions at
any point during the broadcast
● We’ll post the recorded webinar on YouTube in a few
days. We’ll email you the link along with a short survey.
Pop Quiz! 🍿
rasa.com/cdd-quiz
About Rasa
We’re building the standard infrastructure for conversational AI
HOW WE ACHIEVE OUR MISSION
Champion Open
Source Tools
Nurture a Community
of Makers
Ship Applied Research to
Solve Real Problems
Developers all over the world build with Rasa:
2m+ downloads, 9,500+ forum members, 400+ contributors
RASA COMMUNITY
Healthcare Insurance Banking
Telecommunications Manufacturing
Technology
5 levels of
conversational AI
The 5 levels of conversational AI got a 2020 upgrade
All of you are already gathering the data you need
to climb from level 3 to 4 and 5.
You just need to listen.
Conversation-Driven Development:
the process of listening to your users and using
those insights to improve your AI assistant
Conversation-Driven
Development (CDD)
CDD captures the lessons we’ve learned as a community
WHY CDD
If you’ve built conversational AI before, you know that:
● It is very hard.
● Building a prototype is not the hard part.
● The hard parts all show up when you want to go from a
prototype to something you’d want to ship.
Conversation-Driven Development should:
● Help all of us build better conversational AI.
● Save newcomers from having to learn this the hard way.
Conversation-Driven Development is made up of six actions
ABOUT CDD
share fix
track
review annotate test
Users will always surprise you.
So get some test users to try your prototype as early
as possible.
Shipping without having a bunch of test
users has never worked. Your project
won’t be the exception.
Share
Review
At every stage of a project, it is worth reading what users are
saying.
Avoid getting caught up in metrics right away. Conversations
are valuable data.
Annotate
Using a script to generate
synthetic training data
Turning real messages into
training examples
Test
Professional teams don’t ship applications without
tests.
Use whole conversations as end-to-end tests
Run them on a continuous integration (CI) server.
Prototype
Track
Use proxy measures to track which conversations are
successful and which ones failed.
‘Negative’ signals are useful too, e.g. users not getting back in
touch with support.
Prototype
Fix
Study conversations that went smoothly and ones that failed.
Successful conversations can become new tests 🎉
Fix issues by annotating more data and/or fixing your code 🔧
CDD in practice
It’s not a linear process: you’ll find yourself jumping between these actions
PROCESS
share fix
track
review annotate test
Some actions require software skills, others a deep understanding of the user
TEAM
Image credit: Freepik
Rasa X is a free tool to
help teams do CDD
≈≈
Rasa X layers on top of Rasa Open Source
PRODUCT
Rasa X: Tool for
Conversation-Driven Development
Rasa Open Source: Framework for
building AI assistants
Rasa X local mode
Rasa X server mode
Share your bot with testers using just a link
Review conversations coming in from every channel
Annotate the messages coming in
#232a2e
Push new training data to git and trigger your CI pipeline
Track failures and successes
Use the API to automatically tag conversations, or add
tags manually as you read
Turn successful conversations into new
end-to-end tests
Q&A
Recap
CDD captures the lessons we’ve learned as a community
WHY CDD
Conversational AI is hard - CDD helps us make our assistants better
over time.
As experienced conversational AI teams, we owe it to newcomers to
help them avoid mistakes.
That’s the only way this field can continue to progress.
Join the Conversation
Share your knowledge and help other teams move faster
rasa.com/cdd-quiz
Alan Nichol
Co-founder & CTO
alan@rasa.com
Email me!

Six Steps to Conversation Driven Development

  • 1.
    Conversation-Driven Development Alan Nichol |co-founder, CTO @ Rasa July 2020
  • 2.
    Agenda CONVERSATION DRIVEN DEVELOPMENT ●About Rasa ● Conversation Driven Development ● CDD in Practice ● Q&A Housekeeping ● Please keep yourself muted and your camera turned off ● Use the Zoom chat to ask questions. We’ll answer questions at the end, but you can ask your questions at any point during the broadcast ● We’ll post the recorded webinar on YouTube in a few days. We’ll email you the link along with a short survey.
  • 3.
  • 4.
  • 5.
    We’re building thestandard infrastructure for conversational AI HOW WE ACHIEVE OUR MISSION Champion Open Source Tools Nurture a Community of Makers Ship Applied Research to Solve Real Problems
  • 6.
    Developers all overthe world build with Rasa: 2m+ downloads, 9,500+ forum members, 400+ contributors RASA COMMUNITY Healthcare Insurance Banking Telecommunications Manufacturing Technology
  • 7.
  • 8.
    The 5 levelsof conversational AI got a 2020 upgrade
  • 9.
    All of youare already gathering the data you need to climb from level 3 to 4 and 5. You just need to listen.
  • 10.
    Conversation-Driven Development: the processof listening to your users and using those insights to improve your AI assistant
  • 11.
  • 12.
    CDD captures thelessons we’ve learned as a community WHY CDD If you’ve built conversational AI before, you know that: ● It is very hard. ● Building a prototype is not the hard part. ● The hard parts all show up when you want to go from a prototype to something you’d want to ship. Conversation-Driven Development should: ● Help all of us build better conversational AI. ● Save newcomers from having to learn this the hard way.
  • 13.
    Conversation-Driven Development ismade up of six actions ABOUT CDD share fix track review annotate test
  • 14.
    Users will alwayssurprise you. So get some test users to try your prototype as early as possible. Shipping without having a bunch of test users has never worked. Your project won’t be the exception. Share
  • 15.
    Review At every stageof a project, it is worth reading what users are saying. Avoid getting caught up in metrics right away. Conversations are valuable data.
  • 16.
    Annotate Using a scriptto generate synthetic training data Turning real messages into training examples
  • 17.
    Test Professional teams don’tship applications without tests. Use whole conversations as end-to-end tests Run them on a continuous integration (CI) server.
  • 18.
    Prototype Track Use proxy measuresto track which conversations are successful and which ones failed. ‘Negative’ signals are useful too, e.g. users not getting back in touch with support.
  • 19.
    Prototype Fix Study conversations thatwent smoothly and ones that failed. Successful conversations can become new tests 🎉 Fix issues by annotating more data and/or fixing your code 🔧
  • 20.
  • 21.
    It’s not alinear process: you’ll find yourself jumping between these actions PROCESS share fix track review annotate test
  • 22.
    Some actions requiresoftware skills, others a deep understanding of the user TEAM Image credit: Freepik
  • 23.
    Rasa X isa free tool to help teams do CDD
  • 24.
    ≈≈ Rasa X layerson top of Rasa Open Source PRODUCT Rasa X: Tool for Conversation-Driven Development Rasa Open Source: Framework for building AI assistants
  • 25.
  • 26.
  • 27.
    Share your botwith testers using just a link
  • 28.
    Review conversations comingin from every channel
  • 29.
  • 30.
    #232a2e Push new trainingdata to git and trigger your CI pipeline
  • 31.
    Track failures andsuccesses Use the API to automatically tag conversations, or add tags manually as you read Turn successful conversations into new end-to-end tests
  • 32.
  • 33.
  • 34.
    CDD captures thelessons we’ve learned as a community WHY CDD Conversational AI is hard - CDD helps us make our assistants better over time. As experienced conversational AI teams, we owe it to newcomers to help them avoid mistakes. That’s the only way this field can continue to progress.
  • 35.
  • 36.
    Share your knowledgeand help other teams move faster rasa.com/cdd-quiz
  • 37.
    Alan Nichol Co-founder &CTO alan@rasa.com Email me!