Apresentação sobre Google Home, Google Assistant e Google Actions. Além de explicar os conceitos teóricos dessas tecnologias apresento o "Jack" meu assistente pessoal para o Google Home
There are a few main reasons why we think Google Home will eventually win and it all comes back to data. The main aspects to consider are: how much data do you have access to, what can you do with it, and how easy is it to access.
Google Home is a smart speaker developed by Google that uses Google Assistant to respond to voice commands. It allows users to control smart home devices like lights, thermostats, and more through voice. Google collects user data from Google Home to personalize ads. While it faces competition from Amazon Echo, Google Home has advantages like integration with more smart home devices and Google's search capabilities. It is expected to succeed due to improvements like multi-user support.
Google Home is a Wi-Fi connected speaker that functions as a smart home hub and allows users to interact with Google Assistant to get information, control smart home devices, and play music or videos. It streams content from services like YouTube, Spotify and Pandora. Google Home also works with smart home devices from Nest, Philips Hue, and SmartThings and can control them via voice commands. The device has interchangeable covers and comes with Google Assistant, which is an AI assistant that improves two-way conversations.
The document discusses building apps for the Google Assistant using Google Cloud Functions and Actions on Google. It provides an overview of the architecture, development workflow, and ways for users to discover apps. Key points include using Cloud Functions as a serverless environment to handle requests, the Actions Console for configuration, and in-dialogue discovery or the Assistant Directory as ways for users to find actions.
This document provides an overview of the Google Assistant and how it works. It discusses how the Assistant uses technologies like natural language understanding, speech recognition, and machine learning to understand users and complete tasks. It also outlines how developers can build actions and skills for the Assistant using tools provided by Google.
Building Conversational Experiences with Actions on Google Peter Friese
Since we first started using computers, we have dreamt of interacting with them in a more natural, human-like way using spoken language. Advances in machine learning and artificial intelligence have spiked an interest in natural language processing, and building conversational interfaces no longer is a dream, but a reality every developer can use in their own applications.
The problem of recognising spoken input has been largely solved, and the next challenge is how to build compelling user experiences that are modelled after natural human conversation.
In this talk, I will give an introduction to the Google Assistant and how to use Actions on Google to build conversational interfaces for devices with and without screens. We will take a look at how API.AI makes implementing natural language understanding feasible even for non-linguists, and discuss how you can integrate agents with existing backends. In conversation, it's all about being natural, so we will also look at how to create agents that feel like real characters.
Building Conversational Experiences with Actions on GooglePeter Friese
Since we first started using computers, we have dreamt of interacting with them in a more natural, human-like way using spoken language. Advances in machine learning and artificial intelligence have spiked an interest in natural language processing, and building conversational interfaces no longer is a dream, but a reality every developer can use in their own applications.
The problem of recognising spoken input has been largely solved, and the next challenge is how to build compelling user experiences that are modelled after natural human conversation.
In this talk, I will give an introduction to the Google Assistant and how to use Actions on Google to build conversational interfaces for devices with and without screens. We will take a look at how API.AI makes implementing natural language understanding feasible even for non-linguists, and discuss how you can integrate agents with existing backends. In conversation, it's all about being natural, so we will also look at how to create agents that feel like real characters.
I'm afraid I don't have enough context to understand your full question. Could you please rephrase or provide some more details?
User: Sorry, let me try again. I'm looking for a recipe for a quick soup I can make with chicken and canned tomatoes. Do you have any suggestions?
Conversational Actions allow developers to create actions for voice assistants like Google Assistant. Actions engage users through natural language conversations across various surfaces using technologies like Dialogflow, actions-on-google library, and the Actions SDK. The key takeaway is that conversational interfaces keep dialogs simple through speech synthesis, text formatting, media responses, and subscriptions to maintain user engagement.
Hey hubballi! - Talk on "Actions on Google" #DevFestHubali Smit Jethwa
This document discusses building actions for Google Assistant using Dialogflow and Firebase. It introduces Actions on Google and provides an overview of tools like Dialogflow for building intents and entities, Firebase Real-time Database for managing data, and Firebase Cloud Functions for hosting code. The document demonstrates different response types, discusses tips for making powerful actions, and provides resources for learning more about building actions.
How to Build a Dialogflow App by using Actions on Google.Yuting Liu
This document discusses building actions for Google Assistant using Dialogflow. It covers setting up a Dialogflow agent project, training the agent with sample conversations, defining intents and parameters, configuring responses, adding fulfillment logic, and integrating the agent with other services like Line. The document also provides instructions for deploying the Dialogflow agent to Firebase Functions and includes some tips for getting started with building agents.
This document provides information about building Actions for the Google Assistant using Actions on Google (AoG). It discusses the AoG Community Program which provides benefits like credits and t-shirts for publishing Actions. It also outlines how to reach users through discovery in the Google Assistant and details best practices for naming Actions and enhancing them with features like sound, SSML, and templates. The document recommends platforms like Dialogflow and Cloud Functions for Firebase for building out conversational experiences using Actions.
Building google home applications tutorialAlex Austin
This tutorial will get you started with creating applications for the Google Home by helping you create your first "Action" which you can deploy on your device.
Open Social Introduction - JUG SummerCamp 2010Tugdual Grall
Open Social is an API that allows social applications to work across multiple websites. It defines social data like profiles, groups, activities and messages. The API is in JavaScript and allows gadgets to be built with HTML, CSS and JavaScript. Gadgets run in a browser container served by platforms like eXo Platform. eXo embeds the Apache Shindig OpenSocial reference implementation and provides social features like profiles, relationships and activities. The document demonstrates how to use the OpenSocial API by retrieving a viewer's friend list and displaying it. Developing gadgets involves defining the gadget XML and using the OpenSocial API through JavaScript to fetch and display social data.
Jaoo - Open Social A Standard For The Social WebPatrick Chanezon
see http://jaoo.dk/presentation/OpenSocial%2C+a+Standard+for+the+Social+Web
OpenSocial is a standard for the social web managed by the OpenSocial foundation. Introduced by 18 social sites in november 2007, after 8 months OpenSocial is available to 275 million users, 2000 applications have been developed and 10 million users are using them daily.
The session will start with a status of OpenSocial after a year: the ecosystem that formed around the API: social sites, developers, advertisers, tool vendors, IT consulting firms, enterprise software vendors.
For developers of social application, the OpenSocial API JavaScript and REST APIs will be described, with demos of how to build a social application using each API.
For developers of social sites, or sites that want to become OpenSocial containers, the OpenSocial reference implementation is developed as an open source project, Apache Shindig, with a Java and PHP flavors. The stated goal of Shindig is to enable a social site developer to implement OpenSocial support on her site in 2 weeks. The Shindig Java architecture will be explained, followed by a demo of how to connect Shindig to a MySql backend.
Various related projects will also be demoed:
- Friend Connect, a Google offering enabling web sites to add social capabilities with a few lines of javascript.
- Socialsite, a Sun open source project based on Shindig, enabling web sites to become social sites with their own community, using gadgets to provide a user interface to manage the network.
- OpenSocket, a hosted service that allows OpenSocial applications to be deployed on Facebook.
Google provides many APIs that allow developers to integrate Google services and data into their applications. The document discusses Google APIs for search, maps, earth, analytics, and other services. It provides code examples and explains how developers can register for an API key, access documentation, and get started using Google APIs. The future of Google APIs and opportunities for developers through competitions and user groups are also mentioned.
Building Conversational Experiences for Google AssistantNader Khaled
This document discusses building conversational experiences using the Google Assistant and Actions on Google. It covers topics like conversational design principles, building actions with templates and Dialogflow, reaching users through implicit and explicit invocation, account linking, smart home device integration, and sample actions. It also provides an introduction to a codelab for building a basic action and resources for documentation, support, and the Actions on Google community program.
How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...Tu Le Dinh
1. The document discusses how to build a virtual assistant using the Google Assistant SDK and embed it on a Raspberry Pi 3. It covers what a virtual assistant is, what the Google Assistant SDK can do, how to embed the assistant on a Pi, how to create a simple assistant application, and how to make the assistant control devices.
2. The agenda includes an overview of virtual assistants and how they work, discussing the Google Assistant SDK's capabilities like embedding the assistant anywhere and creating custom apps, and how to embed the assistant on a Raspberry Pi 3 through configuring a project, installing prerequisites, and running a demo.
3. The document demonstrates controlling devices from the virtual assistant by using technologies like RPi.
Final getting started with google actionsAjaySingh1938
This document summarizes a hands-on workshop about building actions for the Google Assistant. It introduces various types of actions including content actions, app actions, smart home actions, and conversational actions. It provides examples of how actions can extend the assistant's capabilities and discusses tools for developing actions like the Actions on Google console and Dialogflow. The workshop aims to help developers get started with building actions through code labs and demonstrations.
Exploring Google (Cloud) APIs with Python & JavaScriptwesley chun
This is a 1-hr tech talk designed for developers to give a comprehensive overview of using Google APIS, primarily those from Google Cloud (G Suite and Google Cloud Platform)
Introduction to Cloud Computing with Google Cloudwesley chun
This is a 20-30 minute technical talk introducing developers to cloud computing including an overview of Google Cloud computing products. There is a special focus on serverless tools as a convenient way for developers to run code. The talk ends with several inspirational apps showcasing what is possible with Google Cloud tools meant to plant a seed as to consider what is possible.
OpenSocial aims to make the web more social by allowing developers to add social features to websites and applications. The OpenSocial APIs allow gadgets to access user profile data and enable social interactions through features like activities. Developers can focus on building engaging experiences while OpenSocial handles user management and relationships through standards-based gadget specifications and JavaScript APIs.
How to get things done - Lessons from Yahoo, Google, Netflix and Meta Ido Green
How can you make your software teams better?
What are the values and processes that you wish to embrace?
In these slides, we will share some stories from leading companies (e.g., Google, Meta, and Netflix), and we will see what is working for them.
What is a blockchain?
Why is cryptocurrency the future?
It's a deck I was preparing for a lighting talk at ESGgo.
Since I got some excellent feedback on it - I decided to open-source it :)
Hopefully, you will find it valuable.
The Future of Continuous Software Updates Is HereIdo Green
DevOps and “Liquid Software” release practices are rapidly becoming the standard. But, as software shapes digital transformation, DevOps teams are feeling challenged to manage their growing influence on corporations’ success or failure.
In this talk, Ido Green looks into the growing pains that most enterprises (many of them JFrog customers) face when adopting and consolidating DevOps at scale, and how these challenges are being mitigated with end-to-end platform solutions. We’ll wrap up with some DevOps best practices - from the trenches - that will help you address emerging trends that your bosses’ bosses really care about.
Open Source & DevOps Market trends - Open Core SummitIdo Green
This document discusses lessons learned from serving 5000 customers. It highlights that developers and maintainers directly provide support in open source communities, which helps users become contributors. It also outlines metrics for various open source programs run by JFrog, noting billions of downloads and petabytes of data transfer. The main concerns discussed are Kubernetes adoption, cloud native development, hybrid/multi-cloud environments, and security.
“If we have data, let’s look at data. If all we have are opinions, let’s go with mine.”
This talk is going to be based on data and the real world.
No theoretical stories just data and action items on how to make your company better/faster/more secure in shipping software.
Data Driven DevOps & Technologies (swampUP 2019 keynote)Ido Green
The world (of DevOps) has many buzzwords that people like to use.
Some are more relevant to the real world and some aren't.
In this talk, we covered what is going on in the real world and what is just hype at the moment.
You can read more: https://greenido.wordpress.com/2019/06/19/market-trends-talk-swampup-2019/
This document provides best practices for startups. It discusses the importance of having a great idea, building a product that users love through constant improvement and feedback, assembling a strong founding team, and relentless execution to gain momentum. Key aspects include focusing on a niche, gaining feedback, prioritizing product development over other activities, hiring experts when needed, setting big goals, and constantly shipping new features and versions. The overall message is on passion for the mission, building engagement through a top-quality product, and relentless effort to achieve growth.
What are the ways that startups can leverage the benefits that progressive web apps allow these days?
In this talk, I covered some of the startups best practices and how entrepreneurs can take advantage from the capabilities that PWAs give them.
Earn More Revenue With Firebase and AdMobIdo Green
In these slides we will see how to take advantage of firebase and AdMob in order to increase your revenue stream. We will explore the major ways to monetize your apps with AdMob.
In these slides we will see how to use Firebase Analytics in order to grow your user base. We will see how to effectively use insights from both paid and organic channels in order to create growth.
An overview of Accelerated Mobile Pages Project. See how you can leverage this important open source project today in production and improve your sites' performance and the happiness of your users.
AMP is coming to improve the mobile web. Big time.
There are many aspect to a great user experience on sites.
In order to improve the speed of the media websites on mobile and the monetization, we needed few things:
1. Fast pages. Fast to load, fast to display, saving bandwidth when possible.
2. Easy for the developers and companies to create. Only based on known and widely used technologies.
3. Mobile Friendly: they should respect a standard and thanks to this standard, pages would be automatically optimized for mobile devices
4. Embrace the open web: non-proprietary technology, open source, available to anyone to use and improve. It should not only help for search engines, but for everyone.
In these slides, we will cover AMP and what it can do for you.
Let's focus on the Mobile Web and talk about the keys to a building a great mobile experience.
From AMP (=Accelerated Mobile Pages) as a starting point up to PWA (=Progressive Web Apps). I will cover the steps through some of the key features we see as core to the modern web experience. As a bonus, we will close with new APIs that expending the web even farther.
These are the slides from my talk today at Google IL Office.
It covers:
1. Google’s past, present and a bit of the future.
2. Google’s 5 principles of innovation.
The document discusses building progressive web apps (PWAs). PWAs are web applications that are fast, reliable and engaging like native mobile apps. The key aspects of PWAs discussed are:
1) They use technologies like service workers, web app manifests and push notifications to provide app-like capabilities and improve user experience and engagement on the web.
2) An example of Flipkart, an Indian e-commerce site, is provided which saw 3x time spent and 40% returning visitors with their PWA implementation.
3) Core features discussed that make PWAs engaging include fast loading, adding to homescreen for app-like launching, handling flaky networks well, instant reloading and
This is the last part from four presentations I did to a course for young entrepreneurs. In last 3 lessons, I covered: the Idea, the Product and the Team.
You can see all the slides on my project site: ido-green.appspot.com/startups.html
Any meaningful experience on the web comes with boxes that need to be filled. It might be a registration form, shopping cart or a login form. Moreover, we see the eCommerce revolution flourishing on the mobile web. In these slides, we will see how to improve our forms, make more money and put a smile on our users' faces.
How to start? (and excel with the elephants)Ido Green
These slides contain information on:
1. Campus TLV offering for entrepreneurs.
2. Google Cloud offering for the IoT world.
3. Tips from my experience on 'how to start' your startup.
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc
Six months into 2024, and it is clear the privacy ecosystem takes no days off!! Regulators continue to implement and enforce new regulations, businesses strive to meet requirements, and technology advances like AI have privacy professionals scratching their heads about managing risk.
What can we learn about the first six months of data privacy trends and events in 2024? How should this inform your privacy program management for the rest of the year?
Join TrustArc, Goodwin, and Snyk privacy experts as they discuss the changes we’ve seen in the first half of 2024 and gain insight into the concrete, actionable steps you can take to up-level your privacy program in the second half of the year.
This webinar will review:
- Key changes to privacy regulations in 2024
- Key themes in privacy and data governance in 2024
- How to maximize your privacy program in the second half of 2024
Choose our Linux Web Hosting for a seamless and successful online presencerajancomputerfbd
Our Linux Web Hosting plans offer unbeatable performance, security, and scalability, ensuring your website runs smoothly and efficiently.
Visit- https://onliveserver.com/linux-web-hosting/
The Rise of Supernetwork Data Intensive ComputingLarry Smarr
Invited Remote Lecture to SC21
The International Conference for High Performance Computing, Networking, Storage, and Analysis
St. Louis, Missouri
November 18, 2021
Sustainability requires ingenuity and stewardship. Did you know Pigging Solutions pigging systems help you achieve your sustainable manufacturing goals AND provide rapid return on investment.
How? Our systems recover over 99% of product in transfer piping. Recovering trapped product from transfer lines that would otherwise become flush-waste, means you can increase batch yields and eliminate flush waste. From raw materials to finished product, if you can pump it, we can pig it.
Best Programming Language for Civil EngineersAwais Yaseen
The integration of programming into civil engineering is transforming the industry. We can design complex infrastructure projects and analyse large datasets. Imagine revolutionizing the way we build our cities and infrastructure, all by the power of coding. Programming skills are no longer just a bonus—they’re a game changer in this era.
Technology is revolutionizing civil engineering by integrating advanced tools and techniques. Programming allows for the automation of repetitive tasks, enhancing the accuracy of designs, simulations, and analyses. With the advent of artificial intelligence and machine learning, engineers can now predict structural behaviors under various conditions, optimize material usage, and improve project planning.
7 Most Powerful Solar Storms in the History of Earth.pdfEnterprise Wired
Solar Storms (Geo Magnetic Storms) are the motion of accelerated charged particles in the solar environment with high velocities due to the coronal mass ejection (CME).
Implementations of Fused Deposition Modeling in real worldEmerging Tech
The presentation showcases the diverse real-world applications of Fused Deposition Modeling (FDM) across multiple industries:
1. **Manufacturing**: FDM is utilized in manufacturing for rapid prototyping, creating custom tools and fixtures, and producing functional end-use parts. Companies leverage its cost-effectiveness and flexibility to streamline production processes.
2. **Medical**: In the medical field, FDM is used to create patient-specific anatomical models, surgical guides, and prosthetics. Its ability to produce precise and biocompatible parts supports advancements in personalized healthcare solutions.
3. **Education**: FDM plays a crucial role in education by enabling students to learn about design and engineering through hands-on 3D printing projects. It promotes innovation and practical skill development in STEM disciplines.
4. **Science**: Researchers use FDM to prototype equipment for scientific experiments, build custom laboratory tools, and create models for visualization and testing purposes. It facilitates rapid iteration and customization in scientific endeavors.
5. **Automotive**: Automotive manufacturers employ FDM for prototyping vehicle components, tooling for assembly lines, and customized parts. It speeds up the design validation process and enhances efficiency in automotive engineering.
6. **Consumer Electronics**: FDM is utilized in consumer electronics for designing and prototyping product enclosures, casings, and internal components. It enables rapid iteration and customization to meet evolving consumer demands.
7. **Robotics**: Robotics engineers leverage FDM to prototype robot parts, create lightweight and durable components, and customize robot designs for specific applications. It supports innovation and optimization in robotic systems.
8. **Aerospace**: In aerospace, FDM is used to manufacture lightweight parts, complex geometries, and prototypes of aircraft components. It contributes to cost reduction, faster production cycles, and weight savings in aerospace engineering.
9. **Architecture**: Architects utilize FDM for creating detailed architectural models, prototypes of building components, and intricate designs. It aids in visualizing concepts, testing structural integrity, and communicating design ideas effectively.
Each industry example demonstrates how FDM enhances innovation, accelerates product development, and addresses specific challenges through advanced manufacturing capabilities.
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxSynapseIndia
Your comprehensive guide to RPA in healthcare for 2024. Explore the benefits, use cases, and emerging trends of robotic process automation. Understand the challenges and prepare for the future of healthcare automation
Mitigating the Impact of State Management in Cloud Stream Processing SystemsScyllaDB
Stream processing is a crucial component of modern data infrastructure, but constructing an efficient and scalable stream processing system can be challenging. Decoupling compute and storage architecture has emerged as an effective solution to these challenges, but it can introduce high latency issues, especially when dealing with complex continuous queries that necessitate managing extra-large internal states.
In this talk, we focus on addressing the high latency issues associated with S3 storage in stream processing systems that employ a decoupled compute and storage architecture. We delve into the root causes of latency in this context and explore various techniques to minimize the impact of S3 latency on stream processing performance. Our proposed approach is to implement a tiered storage mechanism that leverages a blend of high-performance and low-cost storage tiers to reduce data movement between the compute and storage layers while maintaining efficient processing.
Throughout the talk, we will present experimental results that demonstrate the effectiveness of our approach in mitigating the impact of S3 latency on stream processing. By the end of the talk, attendees will have gained insights into how to optimize their stream processing systems for reduced latency and improved cost-efficiency.
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfjackson110191
These fighter aircraft have uses outside of traditional combat situations. They are essential in defending India's territorial integrity, averting dangers, and delivering aid to those in need during natural calamities. Additionally, the IAF improves its interoperability and fortifies international military alliances by working together and conducting joint exercises with other air forces.
Measuring the Impact of Network Latency at TwitterScyllaDB
Widya Salim and Victor Ma will outline the causal impact analysis, framework, and key learnings used to quantify the impact of reducing Twitter's network latency.
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsMydbops
This presentation, delivered at the Postgres Bangalore (PGBLR) Meetup-2 on June 29th, 2024, dives deep into connection pooling for PostgreSQL databases. Aakash M, a PostgreSQL Tech Lead at Mydbops, explores the challenges of managing numerous connections and explains how connection pooling optimizes performance and resource utilization.
Key Takeaways:
* Understand why connection pooling is essential for high-traffic applications
* Explore various connection poolers available for PostgreSQL, including pgbouncer
* Learn the configuration options and functionalities of pgbouncer
* Discover best practices for monitoring and troubleshooting connection pooling setups
* Gain insights into real-world use cases and considerations for production environments
This presentation is ideal for:
* Database administrators (DBAs)
* Developers working with PostgreSQL
* DevOps engineers
* Anyone interested in optimizing PostgreSQL performance
Contact info@mydbops.com for PostgreSQL Managed, Consulting and Remote DBA Services
3. Google Home — voice-activated speaker powered
The Google Assistant — A conversation between you and
Google that helps you get more done in your world.
Actions on Google — How developers can extend the
assistant (via Conversation Actions)
6. “Ok Google, talk to personal chef”
Conversation API, Actions SDK
Invoke “personal chef” action
“Sure, here’s personal chef.
Hi, I’m your personal chef, what
are you in the mood for?”
Speech to Text
“What protein would you
like to use?”
“Well, it’s kind of cold outside, so I’d like
something to …”
Text to Speech
“Sure, here’s your personal chef”
Speech to Text, NLP,
Knowledge Graph,
ML Ranking, User
Profile, Text to
Speech
9. Webhook
(optional)
“Ok Google, talk to personal chef”
api.ai
Invoke “personal chef” action
“Well, it’s kind of cold outside, so I’d like
something to …”
“Sure, here’s your personal chef”
Speech to Text, NLP,
Knowledge Graph,
ML Ranking, User
Profile, Text to
Speech
“Sure, here’s personal chef.
Hi, I’m your personal chef, what
are you in the mood for?”
“What protein would you
like to use?”
Speech to Text
Text to Speech
12. Intent
Triggered via a series of “user says” phrases
Share a common set of entities
- Create new Intent otherwise
13. Intent name
Name to use in API.AI console
Only used by the developer, not referenced in your code
14. Action name
String passed to the webhook that indicates what action is being performed
Can share the same action name across different Intents
API.AI specific use of “Action” compared to Google Assistant “Conversation Action”
15. Input and Output Contexts
You can require a context to be available before an Intent is enabled
Intent can set context to enable other Intents
Implement flow control between some Intents
16. Entities
Values that we are trying to capture from the user phrases
Can specify a parameter name and a type of value
Values can be optional
Values can be a list of fixed values
17. Text response
Spoken when the Intent is complete
Embed entity values if desired
- “I found a recipe for $protein and $vegetable!”
Webhook can dynamically adjust this response
20. Prompts
Specify follow up questions if a user doesn’t specify certain values
Read out in random order to make it more natural
23. Node.js client library
https://developers.google.com/actions/apiai/fulfillment
'use strict';
// Boilerplate setup
let ApiAiAssistant = require('actions-on-google').ApiAiAssistant;
let express = require('express');
let bodyParser = require('body-parser');
let app = express();
app.set('port', (process.env.PORT || 8080));
app.use(bodyParser.json({type: 'application/json'}));
// Create an instance of ApiAiAssistant
app.post('/', function (request, response) {
const assistant = new ApiAiAssistant(
{request: request, response: response});
});
// Create functions to handle requests here
// Start the server
let server = app.listen(app.get('port'), function () {
console.log('App listening on port %s', server.address().port);
console.log('Press Ctrl+C to quit.');
});
24. Node.js client library
https://developers.google.com/actions/apiai/fulfillment
const assistant = new ApiAiAssistant({request: request, response: response});
const WELCOME_INTENT = 'input.welcome'; // the action name from the API.AI intent
const NUMBER_INTENT = 'input.number'; // the action name from the API.AI intent
const NUMBER_ARGUMENT = 'input.mynum'; // the action name from the API.AI intent
function welcomeIntent (assistant) {
assistant.ask('Welcome to action snippets! Say a number.');
}
function numberIntent (assistant) {
let number = assistant.getArgument(NUMBER_ARGUMENT);
assistant.tell('You said ' + number);
}
let actionMap = new Map();
actionMap.set(WELCOME_INTENT, welcomeIntent);
actionMap.set(NUMBER_INTENT, numberIntent);
assistant.handleRequest(actionMap);
25. Facts About Google sample (context and deep links)
https://developers.google.com/actions/apiai/fulfillment
26. Requesting user’s name and location
https://developers.google.com/actions/assistant/helpers
Q: "Recommend me a local bookstore"
A: "To find bookstores near you, I'll just need to get your zip code from Google. Is that
okay?"
NAME (Registered device user’s full name)
DEVICE_PRECISE_LOCATION (Coordinates and street address)
DEVICE_COARSE_LOCATION (Zip code and city)
// assistant is an instance of ApiAiAssistant or ActionsSdkAssistant
let permission = assistant.SupportedPermissions.NAME;
assistant.askForPermission('To address you by name', permission);
27. Account linking with OAuth 2.0
https://developers.google.com/actions/identity/account-linking
"It looks like your <invocation name> account is not linked yet. You can link <invocation
name> to your Google Account from the Google Home app."
Google Home app provides a link to your login page.
OAuth token is presented to your webhook.
Will only connect to a login page on your domain, not a 3rd party login.
28. Speech Synthesis Markup Language (SSML) & Earcons
https://developers.google.com/actions/reference/ssml
<speak> <!-- Must be at the start of the string -->
<say-as interpet-as="characters">SSML</say-as>
<break time="3s"/>.
<audio src="https://example.com/file.mp3"></audio>
<say-as interpret-as="cardinal">10</say-as>.
<say-as interpret-as="ordinal">10</say-as>
<say-as interpret-as="characters">10</say-as>.
<sub alias="World Wide Web">WWW</sub>.
<p><s>This is one.</s><s>This is two.</s></p>
</speak> <!-- Must be at the end of the string -->
“S S M L”
[3 second pause]
[audio file plays]
“Ten”
“Tenth”
“One Oh”
World Wide Web
[two sentences]
31. Action naming and policies
https://developers.google.com/actions/policies/general-policies
● Policies about what Conversation Actions are allowed
● See the guidelines for more information
● Invocation names must be unique since it is a global name
● Direct Actions not widely available to build and deploy,
register for interest
37. Persona is conveyed
through:
● Tone
● Word and phrase choices
● Functional design
● Style
● Technique
● Voice
...and based on:
1. Your user population and
their needs
2. The imagery & qualities
associated with your
brand
38. Preserve and reinforce your
persona by engaging the
user as a separate entity
from the Google Assistant.
Own it.
Hey! This is ___
Welcome to ___
Ready to play ____
Hi! ___ here.
Hello. I’m ___
Greetings, human.
Welcome back to ___
Hey again. ___
Let’s play ___
Here’s your ___
Brought to you by ___
Hi there, ___
Let’s get started.
Ready for your ___
___, here to…
Live from ___
This is ___
What’s up, ___
and more...