Chatbots: Creating Natural Language From Structured Data

Presenting Structured Data In An Unstructured Format

Introduction

Image for post
Image for post
The Continuous Chatbot Process: Structuring & Unstructuring Data

Speaking To The User

{
"id": 803,
"main": "Clouds",
"description": "broken clouds",
"icon": "http://openweathermap.org/img/wn/04d@2x.png",
"weather": "Clouds",
"temp": 80,
"high": 82,
"low": 78,
"city": "New York"
}

Basics Of Natural Language Generation (NLG)

The Illusion of Liveness

Image for post
Image for post
IBM Watson Assistant — Assistant Responses

Scripted Language Generation

Image for post
Image for post
Language Generation Script
#DescriberWeather
Image for post
Image for post
Calling Language Generation Script From Dialog
- @{DescribeWeather(dialog.weather)} and the temp is @{dialog.weather.temp}°

Ease Of Scaling

The Inverse of Natural Language Understanding

Fake Product Review Generator

Fake Product Review using Natural Language Generation

Fake News Headline Generator

Natural Language Generation with Google’s Colab Notebook in Python

Conclusion

Written by

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

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store