我在Dialogflow上工作,我已经为我的意图设置了上下文,但不知道如何在Alexa中设置上下文 user: open demo bot
alexa: welcome! How can I help you?
User: update my name
Alexa: What's your name?
User: Jason
Alexa: your name is updated as Jason, Anything else?
user: John
Alexa: your name is updated as John, Anything else? 它应该会给出一个错误,但
假设我有一个可以像这样调用的技能:
Alexa, activate profile number 4 using pin 1 2 3 4.
4和1 2 3 4是AMAZON.NUMBER和AMAZON.NUMBER_SEQUENCE插槽。我认为“4号”就足够了。
在调试过程中,Alexa看起来是这样理解的:
Alexa, activate profile number for using pin one two three four.
有没有办法确保Alexa区分那个同音异义词?
目前,我能想到的唯一解决方案是不包含该语句,而是直接使用:
Alexa, activate fourth prof
我对编程非常陌生,在这方面我遇到了困难。我正在为node.js使用mysql模块,并且我想执行一个在我的Alexa技能中使用的查询。这个想法是Alexa会说出我的查询结果。如何将查询结果放在一个变量中,然后在Alexa的"tell“命令中引用该变量?
这是我到目前为止所得到的:
'LaunchRequest': function () {
var mysql = require('mysql');
var connection = mysql.createConnection({
host : 'myserver.amaz
我需要在我的Alexa技能中连接我的网站作为链接帐户,我在我的网站上有一个登录帐户,它向以下API发出请求,并在cookie中设置JWT令牌,如下所示: <HttpPost()>
<Route("login")>
Public Function GetLogin(data As Utenti.Login)
If data.username = "" Or data.password = "" Then
Return Nothing
End If
我知道Alexa帐户链接用户需要在亚马逊开发人员中创建他的安全配置文件,之后,用户需要在Alexa开发人员控制台中为google登录Alexa技能设置帐户链接。但现在的问题是,用户如何在不发布该技能的情况下测试Alexa帐户链接?因为我的技能还在开发中,我想在我的开发控制台中用Alexa检查google登录!那么有没有可能做到呢?如果可能的话,请指导我如何做到这一点! 我正在使用python-ask for Alexa和google登录,我们需要访问令牌,但我无法在其中获得访问令牌!下面是我的代码: from ask_sdk_core.skill_builder import SkillBu
我需要能够将超链接和换行符插入到我的Google表单的帮助文本中,使用Google。两者都不可能。
对于我尝试过的链接(没有效果):
http://link.com/path
<a href='http://link.com/path'>http://link.com/path</a>
对于新行,我已经尝试过(没有效果):
\n
\\n
\n
我的代码如下:
function createForm() {
var form = FormApp.create('Amazon Open Source Proje
我想在Alexa技能中建立封闭的对话框模型。示例要求是
Man: Alexa, what is the price of product1
Alexa: The price of product1 is 89 USD
Man: What is the size of it?
如果我问"it“而不是”产品名“的大小意图,alexa将如何理解"it”是产品的含义?
在node.js中开发的Alexa技能不会在Alexa应用程序的主页上显示任何卡,对于带有npm软件包‘alexa’的简单卡或标准卡类型。看来‘Alexa’包的response.js文件中有一个问题。我使用了以下方法
'THREE_D_QuestionIntent': function() {
let reply = " Here’s a list"
let speechOutput = reply;
let repromptSpeech = "Question";
let cardTitle = resultC
我有一个具有以下结构的数据框架。我需要将列code1、code2、code3中的所有值放在同一name下的不同行中。类似地,对于text列。
Name Code1 text1 code2 text2 code3 text3
Alexa 362 Eng 639 scien 563 maths
john 23 cri 36 ball 03 value
我想让它看起来像
Name Code text
Alexa 362 Eng
Alexa 6
我正在使用alexa skill,我一直收到“请求的技能的响应有问题”的提示。
这是我的lambda基本技巧
"use strict";
// Include the Alexa SDK
var Alexa = require("alexa-sdk");
// The handlers object tells Alexa how to handle various actions
var handlers = {
"LaunchRequest": function () {
this.emit(":te