如何使用Azure DevOps管道运行LUIS调度模型的刷新

我想使用Azure DevOps中的管道执行“调度刷新”,但是我找不到执行该过程的任何引用或文档。我有一个想法,就是使用Azure DevOps中的管道从Stack question中的注释之一执行“分派刷新”。

非常感谢您的帮助。

nuoyi1024 回答:如何使用Azure DevOps管道运行LUIS调度模型的刷新

要在Azure Devops中使用dispatch,请首先使用Command line任务执行命令:

npm install -g botdispatch

安装完成后,您可以运行refresh命令:

dispatch refresh [options]
dispatch refresh --publishToStaging true --useAllTrainingData true
dispatch refresh --bot c:\src\bot\testbot.bot --secret <your_bot_file_secret>

如果您还不熟悉如何为机器人服务设置CI / CD,则可以关注此博客:Setting up a Build and Release Pipeline for Azure Bot Service using Azure DevOps

由于您没有提供太多有关自己的困惑的详细信息,如果这些内容无济于事,请随时发表评论。

本文链接:https://www.f2er.com/3169175.html

大家都在问