Dialogflow 更改帐户链接语音响应和显示文本

Dialogflow changing account linking speech response and display text

tl;博士 如何自定义Dialogflow中账号链接的默认语音?


我想要使用我的 Google 支持 Google 助理的应用程序登录。

按照 official documentation 中的指导步骤,我为我的 Default Welcome Intent 启用了帐户链接,要求用户登录。

该过程正常运行,在 Google 助理中显示帐户链接卡时得到以下语音响应:

It looks like your {app name} account is not linked yet.

我想自定义语音响应以提供有关链接的附加信息。有什么办法可以修改吗?

感谢您的帮助。


更新

我试图要求 account linking at invocation timePLACEHOLDER_FOR_SIGN_IN 中的 textToSpeech JSON 值替换为我的自定义文本,但它不起作用。

此时您无法更改与帐户链接框一起显示的消息。如果您想在帐户链接卡之前提供响应,您可以在向用户提供信息后尝试调用 app.askForSignIn();

https://developers.google.com/actions/identity/account-linking#during_the_conversation