您好我按照步骤创建了一个示例应用程序,它正在与我创建的自定义代理进行完美对话。但我的问题是,我们可以通过语音消息播放我自己的音乐或mp3在我的服务器上谷歌到家吗?或者我需要播放Android设备中的音频,该设备安装在Android设备中,并通过发送语音消息与谷歌主页配对?
https://developers.google.com/actions/develop/conversation
如果有人知道,请告诉我。
由于
答案 0 :(得分:1)
You can play audio files using the
<speak>This is the audio <audio>link/or/url/to/audiofile.mp3</audio></speak>
in your string response.
You can find more details in the SSML section