DialogFlow

DialogFlow (API.AI) Entity Autocomplete

Update Dec 10th 2018: Template mode is now deprecated Recently, I was showing a coaching client how to use the template mode to capture a person’s name. I walked this client through how to switch to template mode, and how to use the @ symbol. Then I showed how adding a couple of letters after the @ symbol would bring up an autocomplete. That is, the fact that the autocomplete popped up on the screen was an easy way to figure out whether you are in example mode or in template mode (see below for example). As I explained this, he went Oh, so that’s what it is! I always wondered how they got that autocomplete thing to show up…

API.AI

How to get a user’s birthdate in DialogFlow (API.AI)

A reader recently asked: How do we create a script that will ask for a date of birth? My immediate thought was, “Oh, that’s easy. You just ask for the date and use the built-in system entity etc”. And quite stupidly, I also acted on that thought and sent the email out. 🙁 But that doesn’t work It is more nuanced than that. Of course! Turns out, because API.AI is so flexible in the way it parses dates, if the user were to respond to that question with just the month and the day API.AI automatically assumes the current year. Now, at the rate at which kids are adopting technology, it is possible that a kid born this year actually…