- user has to discover how to use the skill
- you have to learn through the conversation
- think voice first
- cognitive load - amount of information can be held in your brain at once
- keeping a conversation
- want to have a wide interface
- want to give people definitve answers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Silent Sight</title> | |
<link href="Style/main.css" rel="stylesheet" type="text/css"/> | |
</head> | |
<h1> | |
Silent Sight | |
</h1> | |
<body id:"mainBody"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//docs.js | |
var fs = require('fs'); | |
var readline = require('readline'); | |
var google = require('googleapis'); | |
var googleAuth = require('google-auth-library'); | |
//If modifying these scopes, delete your previously saved credentials | |
// at ~/.credentials/drive-nodejs-quikcstart.json | |
var SCOPES = [ 'https://www.googleapis.com/auth/drive']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs') | |
var authorize = require('./google/authorize.js') | |
var clientSecretsFile = 'client_secret.json' | |
var createFile = ('./google/createFile.js') | |
module.exports = CreateFileFunction | |
function CreateFileFunction (intent, session, response) { | |
var accessToken = JSON.stringify(session.user.accessToken) | |
fs.readFile(clientSecretsFile.toString(), function processClientSecrets (err, content) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Proxy | |
[[Handler]] | |
: | |
Object | |
set | |
: | |
function (target, prop, value) | |
__proto__ | |
: | |
Object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
process.env.DEBUG = 'actions-on-google:*'; | |
const App = require('actions-on-google').ApiAiApp; | |
const functions = require('firebase-functions'); | |
// [START YourAction] | |
exports.yourAction = functions.https.onRequest((request, response) => { | |
const app = new App({request, response}); | |
console.log('Request headers: ' + JSON.stringify(request.headers)); |