Skip to main content

Google Assistant, simpleness of interaction to call a webhook

The creation of an application using Google Assistant is very simple and represent a big impact to interact with users in diverse environments and particularly in home

Hey Google
...Where is my dog?

If we plan to connect a security camera system, the challenge of finding my pet in an automated way is more feasible, then I will give more details of how I intend to do it. Now we are going to prepare the functionality of the assistant’s requests.


To create an agent and interact with Google Assistant, we will use DialogFlow.


Let's see the main elements to create an agent, and using this agent call a webhook with some functionality. * Part of the objective will be to try to prepare the logic of interaction with a home security system

*Arlo System

From the DialogFlow console, we will create a new agent:
We can customize different support languages, for this case I will use English to facilitate the testing of the agent. [You can include Spanish and also go in depth using the sub-versions like es-419 - latin]


Now we will create an intent where we will represent the concept of action to be performed by the agent and the reactions that the agent will have.

Pay special attention to completing the phrases that the user should use to trigger actions on the agent.


This is the json representation of the intent:


I also share the phrases used to understand the user. ¨User Says¨:

Then we can add a name to the action, this is important to add logic to this action into the code implementation.

Finally, an important part of these operations is the interaction with webhooks. Here we can connect different services. For this example, the webhook will manipulate a system of security cameras following commands to make a user's utility simpler and more flexible.


ArloCamService is a sample project that provides support to a webhook for Google Assistant.

Our complete implementation architecture plan:

Actions of Google Assistant propose interesting utilities and simplicity of development, in addition it's provide a great option for developers to innovate into the topic/environment of interaction with the user using the simplicity of the dialogue interaction.

Creative Commons License
Google Assistant, simpleness of interaction to call a webhook by Nicolas Bortolotti is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Comments

Popular posts from this blog

Architectural reviews of software engineering, a simple approach

I wanted to share an analysis of a very interesting work where they develop concepts related to software architecture solutions. We know that the architecture of a software solution is very important to the success of a development. In my experience as a software architect in previous works dedicated to the software industry, very often expressed an effect of "do not have time to complete thearchitectural review. " What is the justification? if we can justify it. It is very expensive,time consuming, depending on the architectural documentation of the solution, a scenario that could never discuss "is a small project with a limited life cycle, with minimum documentation" So what options do we have when the project has these characteristics, and we'resure that we execute architectural reviews? “However, in spite of the demonstrated benefits of architecture reviews, many projects are unable or unwilling to use them. These projects tend to have the following cha

Following Messi with TensorFlow and Object Detection

In previous publications we were using TensorFlow in combination with the Object Detection model, but always making use of the traditional pre-established datasets [example COCO database ]. This time our challenge should take us another level and I will propose analyze a segment of a soccer game and identify its players [at least one of them]. When talking about soccer, the first thing that came to mind is look for the talented Argentinian star Lionel Messi. I will propose something: Let’s train a personalized model that allows us to locate Argentine star. Let’s analyze a real transmission [in this case I selected Uruguay-Argentina by Conmebol qualifying August 31, 2017] to see what results we can get. Let us think if it is possible to improve or contribute something to the tactics of this passionate sport, using this technology. Note: We will use TensorFlow and the proposed model for Object Detection , all under the Apache License 2.0 license. In this opportunity I will