Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Intelligent Automation with IBM Cloud Pak for Business Automation

You're reading from   Intelligent Automation with IBM Cloud Pak for Business Automation A practical guide to automating enterprise business workflows to deliver intelligent solutions

Arrow left icon
Product type Paperback
Published in Dec 2022
Publisher Packt
ISBN-13 9781801814775
Length 450 pages
Edition 1st Edition
Arrow right icon
Authors (5):
Arrow left icon
Suzette Samoojh Suzette Samoojh
Author Profile Icon Suzette Samoojh
Suzette Samoojh
Guilhem Molines Guilhem Molines
Author Profile Icon Guilhem Molines
Guilhem Molines
Stephen Kinder Stephen Kinder
Author Profile Icon Stephen Kinder
Stephen Kinder
Allen Chan Allen Chan
Author Profile Icon Allen Chan
Allen Chan
Kevin Trinh Kevin Trinh
Author Profile Icon Kevin Trinh
Kevin Trinh
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Business Automation and Cloud Pak Overview
2. Chapter 1: What Is Cloud Pak for Business Automation? FREE CHAPTER 3. Chapter 2: RPA, Workflow, Decisions, and Business Applications 4. Chapter 3: Process Discovery and Process Mining 5. Chapter 4: Content Management and Document Processing 6. Part 2: Use Cases and Best Practices
7. Chapter 5: Task Automation with RPA 8. Chapter 6: Chatbot with RPA 9. Chapter 7: Workflow for Process Automation 10. Chapter 8: Automating Decisions to Speed Up Your Processes 11. Chapter 9: Manage Documents with Content Management 12. Chapter 10: Extract Meanings with Document Processing 13. Chapter 11: Engaging Business Users with Business Applications 14. Chapter 12: Workforce Insights 15. Part 3: Deployment Considerations
16. Chapter 13: On-Premises and On-Cloud Deployments 17. Chapter 14: Deployment Topologies, High Availability, and Disaster Recovery 18. Chapter 15: Automating Your Operations and Other Considerations 19. Index 20. Other Books You May Enjoy

Programming the chatbot

Now that our chatbot channel is connected to our Azure Bot Service instance and we have mapped the script and compute resource to the chat session, we are ready to program our chatbot. We’ll leverage the knowledge base we’ve built previously and see our chatbot in action, but this time leverage this in the bot-specific commands to this point we’ve been deferring.

Let’s get to it.

The WAL language is capable of very intricate dialog control, but we’ll just keep it simple and explain the concepts—the richness and complexity of your interaction are up to you:

defVar --name questionText --type String
defVar --name robotUtterance --type String
defVar --name answerTimeout --type Boolean
defVar --name answerSuccess --type Boolean
defVar --name bestAnswer --type String
defVar --name contextTag --type String
defVar --name chatContext --type String
defVar --name bestAnswerScore --type Numeric
defVar --name success --type...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image