how do i create and use custom vocabulary with sir

2019-03-04 01:59发布

enter image description here

I want Siri to show me specific content in IntentViewController of Siri on my specific Command. I have tried adding a .plist to .lproj but it didn't work for me.

标签: xcode Siri
1条回答
贪生不怕死
2楼-- · 2019-03-04 02:32

I could not understand what you want to do so I want to give an advice that you can't use INSendMessageIntent outside of its capabilities. That means you should use some keywords for your custom sentences to make Siri understand your custom command for the INSendMessageIntent.
After you created the AppIntentVocabulary.plist file, it needs to be send to the Apple Siri Servers. You can achieve this by changing your iPhone Siri language to a different one that you know, then use a simple siri message process with that language.
Then again change it to the language you want.
Do this each time you change the AppIntentVocabulary.plist.

查看更多
登录 后发表回答