简体   繁体   English

如何在谷歌助手上部署一个可以拨打号码的 Dialogflow 机器人?

[英]How to deploy a Dialogflow bot on Google assistant that will call a number?

I want to create a DialogFlow agent that will be Deployed on the Google Assistant that will get a Phone number from a backend service and will be able to call the number using the Google Assistant.我想创建一个 DialogFlow 代理,该代理将部署在 Google 助理上,该代理将从后端服务获取电话号码,并能够使用 Google 助理拨打该号码。 Is it possible?可能吗?

You can only play sound files or play streams.您只能播放声音文件或播放流。 The Google Assistant also doesn't provide you with the actual sound that was recorded as it always converts the detected sound to text. Google Assistant 也不会为您提供录制的实际声音,因为它总是将检测到的声音转换为文本。 This text is then delivered to your Action.然后将此文本传递给您的操作。

You could however call someone from your back-end using Twilio by synthesizing the text that was detected.但是,您可以通过合成检测到的文本,使用 Twilio 从后端呼叫某人。 Responding to whatever the person you're calling says would be hard as well.回应你打电话的人说的任何话也很困难。

I usually opt for sending text messages instead of calling when using Actions.使用 Actions 时,我通常选择发送短信而不是打电话。

The platform does not support the ability to programmatically call telephone numbers through the user's phone.该平台不支持通过用户电话以编程方式拨打电话号码的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM