Siri recognizes phrases from my AppIntentVocabulary.plist, but does not use the VocabularyItemIdentifier values ​​associated with these phrases

I am working on a training application and want to integrate SiriKit for iOS 10. I already know how to integrate SiriKit and get Siri to work with our application.

The only useful resource I can find is Apple's official documentation: SiriKit iOS 10

To make Siri recognize our custom vocabulary, we need to add this enter image description hereAppIntentVocabulary.plist file .

But it intent.workoutName.identifieralways returns the spoken phrase instead of VocabularyItemIdentifier, which is Cardio Craze instead of cardio_craze_workout

- - ?

+4

Source: https://habr.com/ru/post/1664176/


All Articles