Extend Sample Utterance on settings page ? Like adding Post Name
krunchness opened this issue · 1 comments
Hello . very nice work on the voicewp . 4 thumbs up(including my feet. haha ) for ya.
Just want to ask if i can add some slots or intents for post name? because on the settings page. only can ask about latest article and term name. now i want to add functionality for post name.
ex: Alexa, Read the article that has this title {PostName}
Haha, thanks Enjay.
I'm happy to explore the possibilities here a bit, but there are two pretty large hurdles to jump over:
-The first is that a post title can contain any arbitrary text, which could cause Alexa to have low accuracy in turning what a user says into an accurate PostName value (which then gets sent to the WP backend to try and retrieve a post)
-The second hurdle is that the query and logic that likely need to be performed to get the post may be pretty heavy/non-performant. If we can get over the first hurdle, I think we can find ways to make this step happen though.
I'll add this as a feature request, we're getting ready to launch v2 of the plugin, and can then figure out where to prioritize this. If you happen to do work on this in the meantime, feel free to submit a pull request to the plugin :)