<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=2006193252832260&amp;ev=PageView&amp;noscript=1">

2 Min Read

How AI Virtual Assistants Use Natural Language Understanding (NLU) for Chat and Email

Featured Image

Wondering how to get started with AI? Take our on-demand Piloting AI for Marketers Series.

Learn More

Virtual assistants for webchat

Over recent years, the advances of natural language understanding (NLU) have filled the market with chatbot applications. Some operate as utility chatbots, assisting customers in ordering a pizza, searching for flight tickets, controlling smart home devices and more, while others are informative chatbots, used for weather forecasting, answering domain-specific questions, etc. 

Common among these is the nature of chat, may it be Facebook Messenger, Telegram, Skype, Slack, or web-based. Each chat experience has specific properties and restrictions:

  • The user writes (or speaks) 1-2 short sentences in each interaction with the bot.
  • The user expects an immediate response. The response will be short and to the point.
  • Conversation is a series of multiple interactions (our data shows the average number of interactions per conversation is 20).

The screenshots below demonstrate this point.

How AI Virtual Assistants and Bots Use NLU for Chat and Email

Google’s Dialog Flow 

How AI Virtual Assistants and Bots Use NLU for Chat and Email

Microsoft LUIS

So, what about email bots?

Instant messaging channels are not alone. For B2B companies, most of the communication throughout the customer lifecycle is done over email—starting from marketing outreach, through to sales processes, closure, support, renewals and more.

All the assumptions listed above, made for chat-based bots, are not relevant when we examine the email channel. This introduces some technical challenges that require the attention of developers.

Here are five things that are unique about email bots and understanding email content, with potential approaches to face them.

1. Focusing on the correct text

Emails are not well structured for automatic processing. An email body is a single block of HTML, which can contain past emails from the thread history, the signature of the sender, inline answers to previous questions, confidentiality disclaimers, “think about the environment” footers, and other templated texts that may surround the “main” text.

The basis for effective text understanding is a good pre-processing pipeline, which can clean up all the non-relevant content and leave just the text to be analyzed.

2. Understanding the correct meaning

The way people interact with peers and colleagues over email is very different from how they would do it using instant messaging applications. People often write longer texts, combining multiple points in the same email. They tend to communicate complex ideas with rich language and nuances. A good assistant must be trained to handle these kinds of inputs.

3. Keeping context in mind

The other side of writing longer, more complex texts is having fewer back-and-forth messages with each user. However, there is still a context for each message the assistant receives from the user. Usually it will contain answers for previously asked questions, and/or questions for the assistant. Keeping the context can help understand the real meaning of the user’s message.

4. Paying attention to recipients

The context of an email message is influenced also by its recipients. For example, if a user CC’s his colleague to the email, the assistant should take that into consideration on top of the text itself, as it may take the conversation to a different direction.

In a cold-email scenario, a user may reply to the assistant saying “I’m not relevant for this email, but I’m copying Mr. Jones who may be interested to hear more." In this example, having Mr. Jones’ email address from the “CC” field can allow the assistant to continue the conversation with him, just like a human would have done.

5. Supporting opt-out requests

Users may want to discontinue the conversation at any given time. The assistant can be trained for this specifically and handle opt-out requests gracefully. Sending emails after being asked to stop is both impolite and legally risky.

Taking care of the above points gave us at Exceed.ai a solid ground for creating smart assistants that can deal with the unique complexities of email messages. Of course, for a complete conversational experience, the bot answers should be prepared so they deliver the correct messaging and form as a human would have written which has not been covered in this post.

If you're looking to build or buy these types of products, understanding the basics above is important for developers and marketers.

Related Posts

4 Conversational AI Metrics: How to Measure AI Chatbot Performance

Mark Kilens | October 19, 2020

AI-powered chat can accelerate revenue for your business. But how do you know if it’s effective? Start with these four performance metrics.

How AI Chatbots Accelerate Revenue and Shorten the Buying Cycle

Mark Kilens | November 10, 2020

Learn how marketers and sales leaders can use conversational marketing and AI chatbots to enhance buyer experiences and accelerate sales.

The AI Chatbot That Doesn't Need Training to Personalize Conversations

Paul Roetzer | February 7, 2022

ZeroShotBot is an AI chatbot that uses zero-shot learning, so you don't have to train it on new tasks. We interviewed the company to learn how.