Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Sample Utterance on settings page ? Like adding Post Name #116

Open
krunchness opened this issue Mar 6, 2018 · 1 comment
Open

Comments

@krunchness
Copy link

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}

@tomharrigan
Copy link
Owner

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants