如何在Echo Alexa卡中显示超链接 [英] How to display hyperlinks in Echo Alexa cards

查看:132
本文介绍了如何在Echo Alexa卡中显示超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Echo Alexa卡(即与Echo通话后在Alexa应用程序中显示的卡)中显示超链接?我了解它包含在lambda函数返回的响应中,但是找不到
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/providing -home-cards-for-the-amazon-alexa-app
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/handling-requests-sent-by-alexa

How do I display a hyperlink in an Echo Alexa card, i.e. the card that is displayed in the Alexa app after I talk to Echo? I understand its included in the response returned by the lambda function, but cannot find any documentation other than https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/providing-home-cards-for-the-amazon-alexa-app https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/handling-requests-sent-by-alexa

都不讨论超链接。当我尝试使用诸如 google.com之类的工具时,整个ahref都将输出为常规文本。

neither of which discuss hyperlinks. When I try something such as `google.com, the entire ahref is outputted as regular text.

向Alexa询问餐厅推荐会显示格式正确的Yelp数据,以及指向以下链接的链接地图和/或Yelp页面本身。

Asking Alexa for restaurant recommendations displays nicely formatted Yelp data, along with links to a map and/or the Yelp page itself.

推荐答案

您无法使用Alexa技能套件中当前提供的功能来执行此操作。这是经常需要的功能。亚马逊拒绝了我为Alexa计划的整个业务范围,特别是因为他们决定我正在使用的第三方服务的条款和条件要求显示实时链接,而他们无法做到这一点。

You cannot do this with the features currently presented in the Alexa Skills Kit. It has been a frequently requested feature. Amazon shot down an entire line of business I had planned for the Alexa specifically because they decided the Terms and Conditions of a third party service I was using required a "live link" to be presented, and they could not do this.

毫无疑问, Echo 可以做到这一点。如您所述,他们一直在这样做。但这并不是他们开放给 Alexa 和3rd party技能的功能。

There is no question that The Echo can do this. As you noted, they do it all the time. But it is not a feature they have opened up to Alexa and 3rd party skills.

这篇关于如何在Echo Alexa卡中显示超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆