我创建了一个具有Cortana技能的聊天机器人(Microsoft Botframework),我试图提示用户上传附件。
提示是要求用户按照指定上传文件(下面的代码),但我看不到在Cortana中上传文件的可能性。有没有办法做到这一点呢?非常感谢!
var dialog = new PromptDialog.PromptAttachment("Please upload the sick
note you received from your doctor.", "Sorry, I didn't get the document.
Try again please.", 2);
context.Call(dialog,this.uploadAttachmentResumeAfter);发布于 2018-08-14 01:26:36
Cortana Skills Kit目前不支持通过Cortana上传文件。然而,你可以通过deep linking来解决这个问题-在你的应用程序中添加支持html表单文件上传的功能,并按照上面提到的文档中的步骤调用它。
希望这能有所帮助。
https://stackoverflow.com/questions/51799643
复制相似问题