The cloud database for bots

PersonaDB: The cloud database for chatbots

Dan Gailey
RadBots
4 min readFeb 22, 2017

--

We’ve launched PersonaDB — an easy to use cloud-based historical/temporal key/value database API for bots to keep state on their users. The state (collection of dimensions/facts) of a person is called a persona — hence the name PersonaDB. 😉

Let’s break down what all of that means:

  1. ☁️ ️Cloud based: It’s hosted and managed, it means you don’t have to do anything to set it up, and it’s always on and ready to use.
  2. 🕒 Historical/Temporal: That means when you push a new value (fact) about some key (dimension) we’ll keep a log of that change that you can recall at any time.
  3. 🔑 Key/Value: You can simply create and retrieve a key (dimension) and value (fact) about users with a simple web request.

Why it’s important

First, we need a cloud database for bots. This database is all about storing/retrieving state of persona information about a person.

While you can use this database as a simple key/value store, you will be able to do some other really neat stuff with it.

We’ll show you the pieces and connect all the dots to make sure you understand why this is important to the future of bot and human interaction.

What it looks like

Figure 1 shows that each persona created is represented by a set of keys (dimensions) and values (facts). This collections of information is called a persona. Each dimension of information about the user can be anything from where the person lives, what they’ve eaten, to how they’re feeling.

You can retrieve the entire state all at once, a subset of the state, or individual dimensions.

Figure 2

Temporal/Historical Data

Figure 2 shows a single dimension, “Home”, where overwriting facts create a temporal (time) ordered set. From our data we can see this person is an alien 👽 that has lived on multiple planets and on a space ship while traveling between the planets.

Figure 3

Figure 3 shows why having a temporal ordered set is important. We can recall any dimension in time, essentially rewinding back the state of a person to recall, copy, etc. their data. We can then use that data as parameter input to help your bot reason.

Why PersonaDB matters

Figure 4

Shared state

Having a cloud database for persona information can allow for stateful interactions between multi-agent encounters (Figure 4). Every dimension that describes the person such as their habits, intents, preferences, etc can be passed from one agent to another. This can create a seamless experience between bots and the funnel of intent.

Figure 5

Predictive modeling, insights, and corollaries

Using PersonaDB we’ll be able to help surface trends, predictions, and additional insights that are specific to your users, and ultimately your domain specific audience. This will unlock a huge amount of potential power in your chatbots.

Summary

Thanks for checking this out, you can sign up here. We’re eager to hear your feedback and as always look out for our next launch. We have some really great new stuff coming out for you and your bots.

Be sure to ❤️️ us down below!

--

--