[英]Where can I find a code example for export the conten of a microsoft LUIS app and import it to another, using c#?
I found the following commands (please look at the links below):我找到了以下命令(请查看下面的链接):
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.language.luis.authoring.iversions.exportwithhttpmessagesasync?view=azure-dotnet https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.language.luis.authoring.iversions.exportwithhttpmessagesasync?view=azure-dotnet
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.language.luis.authoring.iversions.importwithhttpmessagesasync?view=azure-dotnet https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.language.luis.authoring.iversions.importwithhttpmessagesasync?view=azure-dotnet
However, there is no example of this.但是,没有这样的例子。 Do you have one for me?
你有一份给我吗? Or a better way to realize it?
还是更好的实现方式?
Another question: How can I find the productive version of a LUIS stage?另一个问题:如何找到 LUIS 阶段的生产版本?
You can find a sample usage of the import & export commands here: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/LUIS/Authoring您可以在此处找到导入和导出命令的示例用法: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/LUIS/Authoring
More specifically, here you can find the usage of the export functionality: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/LUIS/Authoring/LUIS.Authoring.Sample/Pages/Management/AppExportPage.cs更具体地说,您可以在这里找到导出功能的用法: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/LUIS/Authoring/LUIS.Authoring.Sample/页面/管理/AppExportPage.cs
And here to import a Luis app: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/LUIS/Authoring/LUIS.Authoring.Sample/Pages/Management/AppImportPage.cs并在此处导入Luis 应用程序: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/LUIS/Authoring/LUIS.Authoring.Sample/Pages/Management/AppImportPage。 CS
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.