Re:Rhasspy – Offline private voice assistant for many human ...
by rft on Tuesday November 22, 2022 @04:58PM
(#33712131)
You can set Intent Handling to a local command (instead of Home Assistant in my example) [1]. I never tried that, but according to the docs you get JSON on stdin and output JSON on stdout. From that you should be able to hack in any pipeline you need.
[1] https://rhasspy.readthedocs.io/en/latest/intent-handling/#co...
Re:Rhasspy – Offline private voice assistant for many human ...
by synesthesiam on Tuesday November 22, 2022 @06:36PM
(#33713093)
This was the reason I designed voice2json [1] :)
Re:Rhasspy – Offline private voice assistant for many human ...
by jrm4 on Tuesday November 22, 2022 @09:42PM
(#33714505)
Yup, I remember seeing this as well. I'm trying to determine the major differences between Rhasspy and this?
Re:Rhasspy – Offline private voice assistant for many human ...
by synesthesiam on Tuesday November 22, 2022 @10:55PM
(#33714981)
They share a lot of the same pieces, but voice2json is meant to work in Unix-style pipelines. Rhasspy has MQTT/HTTP/Websocket APIs instead.
Re:Rhasspy – Offline private voice assistant for many human ...
by lukifer on Tuesday November 22, 2022 @11:01PM
(#33715021)
Rhasspy is a more powerful general-purpose application and GUI; voice2json is more like a library or micro-service that does exactly one thing: convert a speech waveform to JSON. They share some DNA though (same syntax for defining vocabulary).
I used voice2json to build a voice-controlled car audio player, it works amazingly well: https://github.com/lukifer/voicetunes
Re:Rhasspy – Offline private voice assistant for many human ...
by thinkingcow on Wednesday November 23, 2022 @10:29AM
(#33720371)
I've written some Rhasspy bash scripts for managing timers, doing units conversions (for cooking), and interfacing with mpd for music control. see https://github.com/thinkingcow/homeassistant
Offhand, I can't think of why this should be too hard, if it generates JSON or whatnot I can set up a watch folder or something?