gpt4 book ai didi

windows-10 - Cortana 命令仅在说出时有效

转载 作者:行者123 更新时间:2023-12-01 13:49:12 25 4
gpt4 key购买 nike

经过多次挫折后,我意识到 Cortana 语音命令似乎只能在说出时被识别,而不是在使用键盘输入时被识别。例如,安装 CortanaVoiceCommand 后示例项目 我可以说“Adventure Works 展示我的伦敦之旅”并且它有效。但是,如果我输入完全相同的短语,则无法识别该命令,而是搜索 Bing。

有没有办法让 Cortana 识别语音手动输入的命令?

最佳答案

在这里运行了一些测试后,这可能是因为您使用的是较旧的遗留标记(文档和示例意外使用了 <CommandPrefix> 而不是 <AppName> 并且包含一个逗号,您应该将其省略。)

如果你制作的 VCD 看起来像这样:

<?xml version="1.0" encoding="utf-8" ?>
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.2">
<CommandSet xml:lang="en-us" Name="AdventureWorksCommandSet_en-us">
<AppName> Adventure Works</AppName>
<Example> Show trip to London </Example>

<Command Name="showTripToDestination">
<Example> Show trip to London </Example>
<ListenFor RequireAppName="BeforeOrAfterPhrase"> show [my] trip to {destination} </ListenFor>
...

您的键盘输入场景应该会更好,语音也会更准确。 <CommandPrefix>标签是遗留标签,最初构建时意外包含在示例中。

关于windows-10 - Cortana 命令仅在说出时有效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33225714/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com