koenvervloesem / snips-app-say-it-again Goto Github PK
View Code? Open in Web Editor NEWA Snips app that repeats the last message that your voice assistant has said or heard or the last action it has performed
License: MIT License
A Snips app that repeats the last message that your voice assistant has said or heard or the last action it has performed
License: MIT License
From Discord:
eto today at 23:07 Uhr
another question: is it possible to restart the last action? "repeat" "again"
exmple : "Please give me more light in the living room" and "again" it's possible ?
I think it is a good idea and would be willing to implement it in the next few weeks. (currently busy with another project)
Basic concept:
Listen to hermes/intent/#
if it is not the "repeat" skill:
Save the topic and message
if it is the "repeat" skill:
Republish the saved topic with the same message
(Possible problem: The Dialog-ID will be reused!)
Additional Idea:
Don't allow "old" skills to be repeated:
Forget the stored data after a configurable amount of time (Probably via threads so it is really gone)
This could be used for the other skills as well (You don't want your wife to ask Snips what your last sentence was when you are gone ;))
Originally asked in #2 by @philipp2310:
Don't allow "old" skills to be repeated:
Forget the stored data after a configurable amount of time (Probably via threads so it is really gone)
This could be used for the other skills as well (You don't want your wife to ask Snips what your last sentence was when you are gone ;))
I got this idea from #3 which was suggested by @philipp2310:
You want to prevent that your wife/kids/... can ask Snips what your last sentence was. This can be solved by implementing some sort of user management/detection: the app could then repeat the last sentence of the user asking for it, just like it's now repeating the last sentence on the site ID the user is using.
This could be implemented in the app by referring to custom hotwords for each user, but I don't have any experience yet with it. When I find some time to try out custom hotwords in Snips, I will definitely implement this feature.
Currently this app is only tested on Raspbian.
It would be helpful if someone could test the app on other platforms supported by Snips, such as other Linux distributions (especially Ubuntu), macOS and other ARM systems than the Raspberry Pi. I'd love to hear the result, positive or negative.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.