Google 如何为我的 Google 智能助理创建音乐播放器

Google how can I create a music player for my Google Assistant

我想知道如何为我的 Google 智能助理兼容设备(例如 Google Home mini、我的平板电脑、phone...)创建音乐播放器。我一直在研究如何做到这一点,但我刚刚发现使用 Dialogflow, node-js and/or Actions on Google using Google Firebase Cloud Functions 之类的东西。我对这一切都是陌生的,Spotify 和 Pandora 以及所有其他服务激发了我的灵感。所以我也尝试查找他们是如何做到的,但我一无所获。如果你们有人知道怎么做,帮助我。

除此之外,我对 Google 集成的整个 Dialogflow 和 Actions 有点困惑,但这比整个问题更容易解决。

如果这不是“可解决的”,有没有办法用 Dialogflow Fulfillment 来解决?

为了创建类似 Spotify 或 Pandora 的东西,您需要与 Google 合作创建一个 media action. These are different than the conversational actions,您可以使用 Google 和 Dialogflow 上的 Actions 创建它。

如果您想使用 Google 上的 Actions 和 Dialogflow 创建一个会话操作,在对话中生成长格式音频结果,您需要查看 Media response,它您可以在回复中加入。