Learning Library

← Back to Library

Building a Banking Conversational AI

Key Points

  • Conversational AIs use large datasets, machine‑learning models, and natural‑language processing to mimic human interaction, recognizing speech or text and translating intent across languages.
  • Their core NLP pipeline consists of four steps: input generation (user voice or text), input analysis with NLU to determine intent, dialog management using NLG to craft responses, and reinforcement learning to improve over time.
  • To build a banking‑focused chatbot, start by collecting existing FAQs (e.g., “Where do I find my account number?”), then map these to intents such as “access account” and train the model on varied phrasings.
  • Define entities (e.g., account number, password, routing number) that populate the intents, and combine intents and entities into a dialog flow that delivers accurate, context‑aware answers to users.

Full Transcript

# Building a Banking Conversational AI **Source:** [https://www.youtube.com/watch?v=pOUBt-S5dHY](https://www.youtube.com/watch?v=pOUBt-S5dHY) **Duration:** 00:06:24 ## Summary - Conversational AIs use large datasets, machine‑learning models, and natural‑language processing to mimic human interaction, recognizing speech or text and translating intent across languages. - Their core NLP pipeline consists of four steps: input generation (user voice or text), input analysis with NLU to determine intent, dialog management using NLG to craft responses, and reinforcement learning to improve over time. - To build a banking‑focused chatbot, start by collecting existing FAQs (e.g., “Where do I find my account number?”), then map these to intents such as “access account” and train the model on varied phrasings. - Define entities (e.g., account number, password, routing number) that populate the intents, and combine intents and entities into a dialog flow that delivers accurate, context‑aware answers to users. ## Sections - [00:00:00](https://www.youtube.com/watch?v=pOUBt-S5dHY&t=0s) **Conversational AI: Components Overview** - The passage explains the four-step NLP pipeline of a conversational AI and outlines the initial steps for creating a banking‑focused chatbot. - [00:03:09](https://www.youtube.com/watch?v=pOUBt-S5dHY&t=189s) **Building Conversational AI: Intents & Entities** - The speaker outlines how to turn FAQs into intents, define related entities, and combine them into dialogs for use cases such as banking support, HR processes, and IoT voice assistants. - [00:06:15](https://www.youtube.com/watch?v=pOUBt-S5dHY&t=375s) **Like, Subscribe, and Sandwich?** - The speaker urges viewers to like and subscribe, then humorously asks if their sandwich has arrived. ## Full Transcript
0:00This is a conversational AI in the form of a chat bot. 0:08It's a sad and hungry story, but it does have a happy ending. 0:15Now a conversational 0:19AI 0:21is something that uses a large volume of data, 0:27a large volume of machine learning and a lot of natural language processing 0:31with the aims to help imitate human interactions. 0:35Conversational AIs can recognize speech and text inputs and translate their meanings across various languages. 0:43They generate responses based on user intent. 0:47So how do they work? 0:49Well, there are four basic steps to the natural language processing that occurs within a conversational AI. 1:01Now, the first of those is input generation. 1:09This is where we, and by "we" I mean, like perhaps a hungry user awaiting a sandwich delivery - 1:17We provide input in the form of voice or text through a website or an app. 1:24Next is input analysis. 1:30And this is used to decipher the meaning of the input and derive its intent 1:35through NLU or natural language understanding. 1:41Dialog management 1:45is used to formulate a response in a way that mimics human speech using NLG. 1:51Or natural language generation. And reinforcement learning, 1:59well, that is used to refine those responses over time 2:03based on the analysis of how well the conversational AI did this go around. 2:10Simple enough. 2:11So let's build one. 2:14We're going to create a conversational AI that can work with banking queries. 2:19So step one is to figure out the FAQs - or frequently asked questions. 2:30Now, these are the FAQs from our end users, and chances are that they already exist someplace to like assist human customer service representatives, for example. 2:42Well, maybe the reason listed on your website. Now common FAQs might be things like, "Where do I find my account number?" 2:52You know, just sort of general questions like that. 2:55Another one might be, "How do I activate my debit card?" 2:58Things like that. 3:00There's a large corpus of potential FAQs, but will start out just with a small segment of questions to prototype the development of this process. 3:09Now, step two is to use those FAQs to form what's called intents. 3:18So one intent might be - how to access my account. 3:29From here, we'll teach the conversational AI the ways that a user may phrase or ask for this type of information. 3:37So, "I forgot my password", 3:40"How do I log in", and, "How do I sign up for online access?" -- 3:43they're all phrases related to this intent. 3:49With intents defined, step three is to build out entities. 3:57And these surround specific user intent. 4:01So, for example, we can create an entity that say, we'll call it account information. 4:09And list the nouns related to this entity, so that might be account number, password, routing, number, username, that sort of thing. 4:19And then in step four, we put these elements together to create a dialog. 4:28And this is the dialog with our end users. 4:31The intents allow a machine to decipher what the user is asking for, 4:37and then the entities are used to act as a way to provide relevant responses. 4:43Now are banking conversational API is an example of an online customer support use case, 4:48but there are many other use cases for conversational AIs. 4:53So, for example, we could have things like HR processes. 4:59And we can use a conversational AI with an HR process to optimize things like employee training, 5:05onboard processing, and updating employee information. 5:10IoT devices can also use conversational AI 5:14through voice-based digital assistants. 5:17And we can do things like auto-complete on search fields to really start you 5:28typing a query and then have the conversational AI completed. 5:31Look today, most AI chat bots and apps have a somewhat rudimentary problem-solving skill. 5:39An end user is unlikely to be fooled into thinking that this conversational AI is actually a real human. 5:45But they can help reduce time and improve cost efficiency on repetitive customer support interactions, 5:53freeing up those human resources to focus on more involved customer interactions. 5:58Whether it's resetting my bank account password, guiding me through an HR 6:03onboarding process, or even figuring out what happened to my sandwich, 6:07conversational AI is here to help. 6:10And if you'd like to learn more, check out these related videos. 6:15And if you enjoyed this video, please consider hitting the like button and subscribing to the channel. 6:21Did my sandwich show up yet?