Show HN: Project S.A.T.U.R.D.A.Y. – open-source, self hosted, J.A.R.V.I.S.
Nice! I&#x27;m the creator of Willow[0] (which has been mentioned here).<p>First of all, we love seeing efforts like this and we&#x27;d love to work together with other open source voice user interface projects! There&#x27;s plenty of work to do in the space...<p>I have roughly two decades of experience with voice and one thing to keep in mind is how latency sensitive voice tasks are. Generally speaking when it comes to conversational audio people have very high expectations regarding interactivity. For example, in the VoIP world we know that conversation between people starts getting annoying at around 300ms of latency. Higher latencies for voice assistant tasks are more-or-less &quot;tolerated&quot; but latency still needs to be extremely low. Alexa&#x2F;Echo (with all of its problems) is at least a decent benchmark for what people expect for interactivity and all things considered it does pretty well.<p>I know you&#x27;re early (we are too!) but in your demo I counted roughly six seconds of latency between the initial hello and response (and nearly 10 for &quot;tell me a joke&quot;). In terms of conversational voice this feels like an eternity. Again, no shade at all (believe me I understand more than most) but just something I thought I&#x27;d add from my decades of experience with humans and voice. This is why we have such heavy emphasis on reducing latency as much as possible.<p>For an idea of just how much we emphasize this you can try our WebRTC demo[1] which can do end-to-end (from click stop record in browser to ASR response) in a few hundred milliseconds (with Whisper large-v2 and beam size 5 - medium&#x2F;1 is a fraction of that) including internet latency (it&#x27;s hosted in Chicago, FYI).<p>Running locally with WIS and Willow we see less than 500ms from end of speech (on device VAD) to command execution completion and TTS response with platforms like Home Assistant. Granted this is with GPU so you could call it cheating but a $100 six year old Nvidia Pascal series GPU runs circles around the fastest CPUs for these tasks (STT and TTS - see benchmarks here[2]). Again, kind of cheating but my RTX 3090 at home drops this down to around 200ms - roughly half of that time is Home Assistant. It&#x27;s my (somewhat controversial) personal opinion that GPUs are more-or-less a requirement (today) for Alexa&#x2F;Echo competitive responsiveness.<p>Speaking of latency, I&#x27;ve been noticing a trend with Willow users regarding LLMs - they are very neat, cool, and interesting (our inference server[3] supports LLamA based LLMs) but they really aren&#x27;t the right tool for these kinds of tasks. They have very high memory requirements (relatively speaking), require a lot of compute, and are very slow (again, relatively speaking). They also don&#x27;t natively support the kinds of API call&#x2F;response you need for most voice tasks. There are efforts out there to support this with LLMs but frankly I find the overall approach very strange. It seems that LLMs have sucked a lot of oxygen out of the room and people have forgotten (or never heard of) &quot;good old fashioned&quot; NLU&#x2F;NLP approaches.<p>Have you considered an NLU&#x2F;NLP engine like Rasa[4]? This is the approach we will be taking to implement this kind of functionality in a flexible and assistant platform&#x2F;integration agnostic way. By the time you stack up VAD, STT, understanding user intent (while allowing flexible grammar), calling an API, execution, and TTS response latency starts to add up very, very quickly.<p>As one example, for &quot;tell me a joke&quot; Alexa does this in a few hundred milliseconds and I guarantee they&#x27;re not using an LLM for this task - you can have a couple of hundred jokes to randomly select from with pre-generated TTS responses cached (as one path). Again, this is the approach we are taking to &quot;catch up&quot; with Alexa for all kinds of things from jokes to creating calendar entries, etc. Of course you can still have a catch-all to hand off to LLM for &quot;conversation&quot; but I&#x27;m not sure users actually want this for voice.<p>I may be misunderstanding your goals but just a few things I thought I would mention.<p>[0] - <a href="https:&#x2F;&#x2F;github.com&#x2F;toverainc&#x2F;willow">https:&#x2F;&#x2F;github.com&#x2F;toverainc&#x2F;willow</a><p>[1] - <a href="https:&#x2F;&#x2F;wisng.tovera.io&#x2F;rtc&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;wisng.tovera.io&#x2F;rtc&#x2F;</a><p>[2] - <a href="https:&#x2F;&#x2F;github.com&#x2F;toverainc&#x2F;willow-inference-server&#x2F;tree&#x2F;wisng#benchmarks">https:&#x2F;&#x2F;github.com&#x2F;toverainc&#x2F;willow-inference-server&#x2F;tree&#x2F;wi...</a><p>[3] - <a href="https:&#x2F;&#x2F;github.com&#x2F;toverainc&#x2F;willow-inference-server">https:&#x2F;&#x2F;github.com&#x2F;toverainc&#x2F;willow-inference-server</a><p>[4] - <a href="https:&#x2F;&#x2F;rasa.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;rasa.com&#x2F;</a>