【发布时间】:2018-04-18 11:48:56
【问题描述】:
我正在“Dialog Flow”中实现一个应用程序
我正在向这样的应用发送请求
$text = "Something";
$data = array(
"source" => $text,
"speech" => $text,
"displayText" =>$text,
"contextOut" => array()
);
header('Content-Type: application/json');
echo json_encode($data);
应用中显示的文字。但是麦克风是打开的,我想关掉麦克风。
我尝试了expectUserResponse,但没有工作
array(
"expectUserResponse" => false,
"source" => $text,
"speech" => $text,
"displayText" =>$text,
"contextOut" => array()
)
请帮忙。
【问题讨论】:
-
您使用的是 Dialogflow 还是 Action SDK?
-
我正在使用对话流
标签: actions-on-google google-assist-api