Manipulating Entity Entries via API

Let’s imagine an agent for a retail store app. There is a developer entity that matches items available in the store. Let’s call it @item. The initial version of the entity contains a list of items available in the store at the moment of the agent’s creation. But since the stock of items is updated regularly, it would be very inefficient to update the entity manually.

To keep the entity in sync with the store database, API.AI now offers three additional options in the /entities endpoint that allow you to add, update, and delete entity entries via our API. Read more...





Conversational Slack Bots 101

Following up on the VentureBeat article, here is a short tutorial on how to create a Slack bot at API.AI.

Millions of Slack users chat with each other and bots every day. Bots are the best, because you can integrate them with lots of useful services and apps. They provide you with information, deliver notifications, and offer a myriad of other handy features. You can simply talk to the bot naturally and it understands the context to respond intelligently. And now with the API.AI-Slack integration, you can train your bots, so they can have real conversations with users to perform their duties better. Read more...





What are contexts and how are they used?

A context is a powerful tool that can help to create sophisticated voice interaction scenarios. In this post we’ll look at how you can use contexts to build dialogs.

When a dialog is created, it’s usually the case that many branches of conversation are possible. Therefore, intents in an agent should be designed so that they follow each other in the correct order during a conversation.

The best way to demonstrate how this works is to build a conversation together, step-by-step. As an example, we’re going to create an agent for a floral shop. You can download it here and try the instructions in your account. Read more...





Introducing Slot Filling – the easiest way to build a dialog

We are super excited to introduce the slot filling in API.AI! It greatly simplifies building dialogs. In fact, you can build a simple parameter collection dialog within a single intent if you’d like!

Let’s say we want to create an agent for sending messages. We’ll need to collect values for the following parameters: “text” and “name”. We’ll also want to make sure that we’ve matched all the values correctly, and to give users an opportunity to edit the values.

Here’s an example of this type of dialog structure.
Read more...





Could You Fall In Love With a Robot? API.AI Exclusive

In the 2013 film Her, the lead character falls in love with his virtual assistant, a charming, operating system voiced by the actress Scarlett Johansson. Rather than the Skynet-style omnipotent and destructive artificial intelligence imagined by films that look past the singularity – like The Terminator – Her shows a plausible, if fictional, a glimpse at a near future where our relationships with computers are much more human.

Artificial Intelligence, and virtual assistants, in particular, already perform dozens of tasks for hundreds of millions of people every day, but we now see that they also offer people emotional support, friendship and even more.

Our first-ever Virtual Assistant Survey reveals that more complex human - computer relationships are far closer than right around the corner. In fact, just two short years after Her hit theaters, we’re already there.

With data from 12,000+ Assistant.ai users, the Virtual Assistant Survey offers a wealth of insights into the numerous ways virtual assistants are changing the way we live, commute, shop, search and communicate.

What’s clear is that there is no aspect of our lives that has not been touched by the rise of virtual assistants and, believe it or not, smartphones are just the beginning.

Soon our cars, homes, and offices will be filled with connected devices – and not just watches, phones and computers. Fridges, desks, coffee pots, jackets, and every other physical object you can imagine will soon be connected devices. Voice-powered virtual assistants will be how we communicate, control and benefit from our connected future.

We may not all fall in love with our virtual assistants, but sooner than later, we’ll forget how we ever lived without them.