The fictional coffee shop Longberry Baristas is looking to expand their chain! In order to make the process as efficient as possible, they decided to invest in Conversational AI and built their own bot. This bot is designed to cover important concepts in Teneo, making it a perfect introduction to the platform.
This example solution is designed to cover as many important concepts in Teneo as possible. These include, but are not limited to:
- Match conditions and After Match
- Transitions and Outputs
- Junctions and scripts
- Intent and Prompt triggers
- Classes and Class manager
- Language objects and Entities
- Globals, like variables, scripts, and listeners
User: What kind of coffee do you have?
Bot: We offer a variety of handcrafted coffee drinks - from espressos to macchiatos to flat whites and more. It is cookie hour right now! You’ll get a free cookie to go along with your coffee.
User: Do you serve cappuccino?
Bot: Yes, we do indeed serve cappuccino!
User: Suggest a drink.
Bot: Now that you're asking, I'd go for a flat white!
User: I'll have one of those then.
Bot: Ok, a flat white will be ready for pickup in 5 minutes.
User: I'd like to order a cappuccino.
Bot: Ok, a cappuccino will be ready for pickup in 5 minutes.
User: I'd like one more
Bot: Ok, what coffee would you like?
User: A macchiato
Bot: Ok, a macchiato will be ready for pickup in 5 minutes.
User: I want to buy a coffee mug.
Bot: The official Longberry Baristas coffee mug is only available for purchase in our store. Would you like me to reserve a mug for you?
Bot: I have reserved a Longberry Baristas coffee mug for you.
User: I'd like to subscribe to your newsletter
Bot: I would be happy to add you to our mailing list to receive our free newsletter. Please enter you email address.
Bot: I have your email as email@example.com, is that correct?
Bot: Ok, thank you! I'm adding your address firstname.lastname@example.org. You will receive a confirmation email shortly.
User: How much does it cost to join the loyalty program?
Bot: You can join the loyalty program for free! Just ask your local barista for a club card and you're in!
User: How many calories in a Cappuccino?
Bot: One cappuccino contains about 120 calories. A walk of about 30 minutes should be enough to burn them.
User: You are so bad!
Bot: We at Longberry Baristas do not condone this type of behavior. I understand that you're upset but please don't speak to me that way.
You can download the Longberry Baristas solution here.