无法在 KES 中部署索引和语法文件

Unable to deploy the index and grammar file in KES

我正在使用 Azure 的 Knowledge Exploration Service。我准备了一个语法和一个索引文件。因为它的大小很小,所以我能够 运行 在我的本地机器和 Azure VM 上。

但是现在,我想部署这个服务。问题是当我 运行 命令 kes deploy_service 它无法从 Azure 存储下载 blob。即使我尝试从我的本地机器提供文件。

在 Azure VM 上执行相同的步骤,我收到相同的错误。

>kes deploy_service Some.grammar Some.index kes-example
00:00:00 Index: Some.index
00:00:00 ERROR: Invalid value for index parameter: 'Some.index' is not a blob URI.

>kes deploy_service Some.grammar https://storagename.blob.core.windows.net/containername/Some.index kes-example
00:00:00 Index: https://storagename.blob.core.windows.net/containername/Bell.index
00:00:02 ERROR: ResourceNotFound: The storage account 'storagename' was not found.

容器具有 public 访问权限。我可以通过浏览器甚至通过 Azure CLI 下载文件。

我在这里错过了什么?

编辑: 添加我上传到 Azure 存储的示例索引文件,具有 public 访问权限。此索引文件是使用文档中的学术示例生成的。

>kes describe_index https://kesstorage.blob.core.windows.net/kess/Academic.index
ERROR: ResourceNotFound: The storage account 'kesstorage' was not found.

kes.exe 正在使用旧的服务管理 API。它在您的订阅中查询 API 存储帐户,但此 API 早于 Azure 资源管理器 (ARM),因此不了解 ARM 存储帐户。您将需要改用经典存储帐户。

关于如何创建经典存储帐户教程,请参考此link:https://docs.microsoft.com/en-us/azure/storage/common/storage-create-storage-account#create-a-storage-account