如何修改实时Alexa技能? [英] How do I revise a live Alexa skill?

查看:103
本文介绍了如何修改实时Alexa技能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要修改我发布的Alexa技能。我熟悉Amazon发布一项技能后自动创建的开发中技能版本。我不了解的是如何迭代自己的技能,特别是当我需要同时更改交互模型和链接的Lambda函数时?

I need to revise my published Alexa skill. I'm familiar with the "In Development" skill version which Amazon automatically creates after publishing a skill. What I don't understand is how do I iterate on my skill, particularly when I need to change the interaction model and the linked Lambda function at the same time?

例如,我可以创建一个单独的开发中 Lambda函数,并将其作为我开发中 Alexa技能的默认端点。但是,当我提交自己的开发中 Alexa技能进行发布时,开发中 Lambda端点将成为我发布的技能的新端点。我想这可能行得通,而且我认为这就是Amazon想要的,但是我不想回收我的Lambda函数,重新配置X射线跟踪等。我使用无服务器框架来部署链接到我的Alexa的Lambda函数。技能,它为我带来了Lambda。

For example, I could create a separate "In Development" Lambda function and make it my default endpoint for my "In Development" Alexa skill. But then when I submit my "In Development" Alexa skill for publication, that "In Development" Lambda endpoint would become the new endpoint for my published skill. I suppose that could work, and I think that's what Amazon intends, but I don't want to have to recycle my Lambda functions, reconfigure x-ray tracing, etc. I use the Serverless Framework to deploy the Lambda functions linked to my Alexa skills, and it versions my Lambdas for me.

推荐的工作流程是什么?我觉得这里缺少基本的东西。

What's the recommended workflow? I feel like I'm missing something basic here.

除了 编辑开发版本,这显然是不够的。该页面具有指向 修改和更新您的链接。发布后的技能,但单击它会将我发送到有关技能分配的页面。

I couldn't find any Amazon documentation for this beyond "edit the development version," which is obviously inadequate. That page has a link to "Revise and Update Your Skill after Publication" but clicking it sends me to a page about skill distribution.

推荐答案

Alexa Skill



正如您所说,发布技能时,您将拥有实时版本和开发版本。开发人员控制台上同时显示了您的技能的实时版本和开发版本。

Alexa Skill

As you said when your skill is published you will have a live version and development version. Both the live version and the development version of your skill are shown on the developer console.

您现在可以更改技能的开发版本,例如:交互模型的更改,端点更改等。开发人员门户中的任何更改都需要您掌握技能认证过程。

You can now make changes to the development version of the skill like: change in interaction model, endpoint change etc. Any change in the developer portal requires your skill to go through certification process.

提交新版本进行认证时,两个版本都会保留在列表中,直到新版本通过认证为止。新版本通过认证后,它将立即生效并替换以前的实时版本。所有现有用户都将拥有您技能的实时/最新版本。然后创建新的开发版本,以便您可以继续进行更新。

When you submit your new version for certification, both versions remain in your list until the new version is certified. Once the new version is certified, it becomes live and replaces the previous live version. All the existing users will have the live/latest version of your skill. A new development version is then created so that you can continue making updates.

创建时首次使用Lambda函数,默认版本为最新最新是您的开发版本,您可以对此进行更改。在开发期间,您将在Alexa门户中使用Lambda函数的最新版本(开发版本)的 arn 。完成Lambda函数的更改和更新后,如果您认为必须发布该函数,请对其进行版本控制。发布Lambda函数的版本(可以提供版本名称)时,将有两个版本最新 released-version 。您将无法再更改Lambda的发布版本。您可以继续对最新版本版本进行更新,并根据需要发布它。

When you create a Lambda function for the first time, the default version is Latest. The Latest is your development version, and you can make changes to this. During development you will use the arn of the Latest version (development version) of Lambda function in Alexa portal. Once you are done with the changes and updates of your Lambda function and you feel that this has to be released, you version it. When you publish a version (you can provide the version name) of the Lambda function, you will have two versions Latest and released-version. You will no longer be able to make changes to released-version of your Lambda. And you can continue making updates to the Latest version and release it as you wish.

这始终是一个好习惯在提交认证技能之前,发布Lambda的版本并在Alexa开发人员门户中使用它。

It's always a good practice to publish a version of Lambda and use it in Alexa developer portal before you submit the skill for certification.

通过这种方式,您可以将版本无法编辑的Lambda链接到您的实时技能。对于该技能的开发版本,您可以使用同一Lambda函数的 Latest 版本继续进行更新。

This way you can link the versioned uneditable Lambda to your live skill. And for the development version of the skill, you can use the Latest version of the same Lambda function to continue making updates.

有关Lambda函数版本控制的更多信息,此处

More on versioning Lambda functions here.

这篇关于如何修改实时Alexa技能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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