Tag:

如何使用Google Home开发除语音input外的技巧?

我对Google智能助手新手有一个关于使用Google Home的Google助手的查询, 如何使Google Home无需语音input即可发言? 这是否可以通过除语音之外的其他方式进行input,并以语音格式从Google Home输出?

在谷歌api.ai行动不发送身体在POST请求与nodejs和expression

我试图在我的电脑上运行api.ai中的 action-on-google和sillyNameMaker例子。 我用express和一个ngrok隧道build立了一个nodejs服务器。 当我尝试向api.ai上的我的代理发送请求时,我的服务器收到POST请求,但主体看起来是空的。 有什么我没有正确设置? 这是我的index.js文件: 'use strict'; var express = require('express') var app = express() const ApiAiAssistant = require('actions-on-google').ApiAiAssistant; function sillyNameMaker(req, res) { const assistant = new ApiAiAssistant({request: req, response: res}); // Create functions to handle requests here const WELCOME_INTENT = 'input.welcome'; // the action name from the API.AI intent const NUMBER_INTENT = 'input.number'; […]