Comments (4)
Voice recognition is done via web call to external voice services so the SDK itself can't add new voice triggers on a prod bot but if you had another device (PC or something running Google Voice or Amazon Voice services, you could add a voice trigger to one of them and have it run SDK commands that talks to your Vector.
Once OSKR & Escape Pod options are released, it would be possible to add voice triggers that can fired from Vector.
from vector-python-sdk.
Kinda unrelated, but I find it funny that Digital Dream Labs seems to "not know" how to add new voice commands directly to "hey, Vector", since they're always adding new commands to "hey, Vector - I have a question" instead, even ones that aren't a question at all, like the trigger to play Rock, Paper, Scissors.
It seems to me as if they just learned how to append commands to the list of possible questions, and kept doing it that way, not even bothering to learn how to properly add them as new voice commands on their own.
Sure, it's probably easier to append them as possible questions rather than an entirely new voice command, but I don't think I'm the only one bothered about how cumbersome the process to trigger those can become. IIRC, to play Rock, Paper, Scissors, the process is kinda like so:
Hey, Vector. (...) I have a question. (...)
Play Rock, Paper, Scissors. (...)
Hey, Vector. (...) I have a question. (...)
Scissors. (...)
And that feels like a mess.
For "native" games, like Blackjack (I think there's only Blackjack, though), the process is a whole lot simpler:
Hey, Vector. (...) Play Blackjack. (...)
(Vector says something)
Yes/No (...)
(Vector says something)
Yes/No (...)
There's a whole lot less unnecessary stuff going on.
If DDL were to implement Blackjack, it'd be something like so:
Hey, Vector. (...) I have a question. (...)
Play Blackjack. (...)
(Vector says something)
Hey, Vector. (...) I have a question. (...)
Yes/No (...)
(Vector says something)
Hey, Vector. (...) I have a question. (...)
Yes/No (...)
That feels very wrong IMO. I hope they go back to those "voice commands" they added, and turn those into actual voice commands that feel more native, rather than "questions".
from vector-python-sdk.
from vector-python-sdk.
I think it'd be cool if a software update could bypass the need for "I have a question" but still allow new voice commands to be added on the cloud side directly.
That way, you guys could keep adding new voice commands without needing to release OTAs, and the new voice commands could work in "native mode", without needing to "ask a question".
It'd most likely require some reworking of how voice commands are handled, but it'd allow more flexible expansion of such in the future.
That way, there could be new "native" voice commands both on Vector's firmware side and on the cloud side, and both wouldn't require "I have a question" to work.
And it'd also allow hobbyists using the Escape Pod or SDK to play a whole lot with voice commands without needing to fidget with the firmware itself directly.
from vector-python-sdk.
Related Issues (20)
- Initial setup error HOT 1
- Vector SDK CancelledError HOT 2
- Future exception was never retrieved error after script finishes HOT 4
- why use CancelActionByIdTagRequest instead of the gRPC cancel function?
- python 3.8 support HOT 1
- Headless support
- Microphone Access HOT 2
- Can't configure Vector HOT 9
- Exiting vector context manager causes `CancelledError` HOT 1
- Misnamed variable in behavior.py
- Abort when configurating HOT 1
- Trying to call "say_text" twice error
- Add Auth Method for Escape Pod
- sdk examples loop error in Python 3.10 HOT 2
- List animations frequently causes a timeout HOT 3
- Vector
- Vector 2.0 06_face_image example causes Error 914 HOT 1
- message took too long to complete HOT 3
- Can't Configure Vector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vector-python-sdk.