gpt4 book ai didi

siri - macOS 有 Siri 的 API 吗?

转载 作者:行者123 更新时间:2023-12-04 17:32:46 24 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





Does Apple provide an API for SIRI?

(4 个回答)


5年前关闭。




我可以像使用 iOS 应用程序一样使用 Siri 功能对 macOS 应用程序进行编程吗?

例如,在告诉 Siri“播放 Aurora 声音”或 SiriKit 可以在 上执行的任何其他操作时,使用我的音乐应用播放声音.

最佳答案

As in, for example, play a sound using my music app when telling Siri "play the Aurora sound".


您发布的示例也无法在 iOS 上使用,因为 SiriKit 是 restricted to only very few uses cases .
在提出这个问题时,文档没有提到这一点,而是 updated later说支持 macOS 10.12+ :

SDKs

iOS 10.0+
macOS 10.12+
watchOS 3.2+


还有 macOS 10.12 release notes不要提及 SiriKit——尽管支持意图。也许我们会在以后的测试版中看到 SiriKit。如果发生这种情况,我希望 iOS 上的限制也会减少,因为根据当前的限制,在台式机上安装 SiriKit 没有多大意义。

关于siri - macOS 有 Siri 的 API 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37797894/

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