将直线语音集成到 Microsoft 虚拟助手中?

Integrating direct line speech into Microsoft Virtual Assistant?

我一直在为 Microsoft Virtual Assistant 做 POC,使用他们的模板作为 c# 中的基础(在此处找到:https://github.com/microsoft/botframework-solutions)。我已经将我的代码部署到 azure 并添加和部署了一些技能,并且一直在 Bot Framework Emulator 中使用该应用程序来成功测试所有内容。

现在,我想添加一个场景,用户可以通过语音免​​提使用虚拟助手。我一直在读到直线语音是实现此目的的方法,但已经开始了一些双重入门。

我在我的 azure webapp 中创建了一个直线语音通道。然后我遵循了这些指南: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-directlinespeech?view=azure-bot-service-4.0 https://docs.microsoft.com/en-us/azure/bot-service/directline-speech-bot?view=azure-bot-service-4.0

我觉得缺少一些信息,因为在 'Use Direct Line Speech in your bot' 指南中根本没有提到直线语音秘密。

任何有这方面经验的人都会提供很大的帮助,非常感谢。

对于以后可能会搜索此内容的其他人,我发现我的主要问题是我使用的网络聊天实现目前不受直接语音预览支持。

为了在网络聊天中正确集成语音,我能够从 Microsoft here. Specifically, the two examples that I found most helpful was an implementation of speech using a the built-in browser methods in this sample solution and then using Microsoft Cognitive Services in this solution.

中找到一堆网络聊天实施示例