Natural language processing extracts the meaning of a sentence and transforms it into structural data that can be consumed by programs. As a first step we will train an external natural language processor called Wit.ai.
- [Narrator] So far, we configured Iris to listen and reply.…Now, we want her to react to certain questions…and provide an answer to it if she has one.…Let's say someone asks, "What's the current time in Rome?"…So, we are asking for time and some place.…How can we pass it programmatically?…Sure, we could apply some sting matching…(mumbles) applying regular expressions and hope…that the user sticks to our syntax, but that's not…what people expect when we are talking about a bot.…It should be able to understand what we want…and regardless how we build a sentence.…
This is where natural language processing comes into play.…We will use a free service called Great to Achieve That.…It comes with a web interface and an API.…Let's get started with that.…I will log in with my GitHub account in this case,…so here is my account; now we want to create a new app,…so, use this plus icon here, click on it…and let's call this iris; put in some description;…A slack bot implementation.…
The language English is okay.…Let's set it to private and then click on Create App.…
Released
11/4/2016After explaining some basics about Node.js and microservices, Daniel shows you how to sketch out the planned architecture for your application and get the boilerplate code, modules, and credentials in place. Next, he shows how to create a bot user in Slack, connect to Slack, and post messages. He also shows you how to get your bot to process variations in text by creating logic that delegates the processing of intent to dedicated modules. Lastly, he shows how to register additional services and he covers how to use monitoring to identify architectural or performance issues.
- Using Slack APIs
- Sketching out a Slack bot architecture
- Setting up a project and choosing modules
- Creating and naming your bot
- Connecting to Slack
- Setting up and using natural language processing
- Routing by intents
- Implementing geocoding and time calculation
- Adding and monitoring services
Share this video
Embed this video
Video: Set up natural language processing