How To Migrate Your Chatbot From IBM Watson Assistant To Rasa

Considerations When Moving Your Chatbot To Rasa From Watson Assistant

Introduction

Image for post
Image for post
Traditional Chatbot Architecture

Watson Assistant Structure

Image for post
Image for post
Basic architectural structure of IBM Watson Assistant

Intents

Image for post
Image for post
Intents Listed

Entities

Image for post
Image for post
Entities Listed

Dialog (Conversational Nodes)

Image for post
Image for post
WA web based dialog node and conversational state management.

Watson Specific Functionality

Image for post
Image for post
Under Options you see Watson Assistant Specific Features

Watson Assistant Export Compared To Rasa nlu.md Format

Approach

Intents

{
"intents": [
{
"intent": "InformationLoan",
"examples": [
{
"text": "How can I get information on loans?"
},
{
"text": "How can I get more information on loans?"
},
{
"text": "how does applying for a loan work"
},
{
"text": "How does loans work"
},
{
"text": "Information on loans please"
},
{
"text": "where do I go for info on loans"
}
],
"description": ""
},
## intent:ask_transfer_charge
- Will I be charged for transferring money
- do transfers cost something?
- is there a transfer charge?
- Is there a charge
- will i be charged for a transaction?
- do xfers cost something?
- is there a transfer fee
- is there a xfer fee
- how much is the transfer fee

Entities

{
"intent": "TransferMoney",
"examples": [
{
"text": "Can we transfer money from my savings account to my bond account",
"mentions": [
{
"entity": "Money",
"location": [
16,
21
]
},
{
"entity": "ToAccount",
"location": [
52,
56
]
},
{
"entity": "FromAccount",
"location": [
30,
37
]
}
]
},
{
"entity": "Money",
"values": [
{
"type": "synonyms",
"value": "money",
"synonyms": []
},
{
"type": "synonyms",
"value": "R500",
"synonyms": [
"10000",
"400",
"R500"
]
}
],
"fuzzy_match": true
},
- I want to pay the [current balance](payment_amount) on my [credit card](account_type)

Dialog / Stories

Conclusion

Written by

NLP/NLU, Chatbots, Voice, Conversational UI/UX, CX Designer, Developer, Ubiquitous User Interfaces. www.cobusgreyling.me

Get the Medium app