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

问题描述 投票:2回答:1

我想使用Azure DevOps中的管道执行“调度刷新”,但是我找不到执行该过程的任何参考或文档。我已经想到了使用Azure DevOps中的管道从StackOverflow中此question中的注释之一执行“分派刷新”的想法。

非常感谢您的帮助。

node.js azure azure-devops chatbot luis
1个回答
3
投票

要在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

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

© www.soinside.com 2019 - 2024. All rights reserved.