Live data from Hacker News

Show HN: A fast OSS voice assistant

swift-ai.vercel.app

11–20 of 31 posts

Re: Show HN: A fast OSS voice assistant

#11
I'm impressed by the latency using a request response. It looks this uses speech detection locally using Silero voice activity detector model using the ONNX web runtime, collects audio, then performs a POST. It doesn't look like the POST is submitted though until I'm done speaking. The response depends on chaining together several AI APIs that themselves are very, very fast to provide a seamless experience.

This is very good. But this is, unfortunately, still bound by the dominant paradigm of web APIs. The speech to text model doesn't get its first byte until I'm done talking, the LLM doesn't get its first byte until the speech to text model is done transcribing, and the speech to text model doesn't get its first byte until the LLM call is complete.

When all of these things are very fast, it can be very seamless, but each of these contributes to a floor of latency that makes it hard to get to lifelike conversation. Most of these models should be capable of streaming prefill - if not decode (for the transformer like models) - but inference servers are targeting the lowest common denominator on the web: a synchronous POST.

When only 3 very fast models are involved, that's great. But this only compounds when trying to combine these with agentic systems, tool calling.

The sooner we adopt end-to-end, bidirectional streaming for AI, the sooner we'll reach more lifelike, friendly, low latency experiences. After all, inter-speaker gaps in person to person conversations are often in the sub-100ms range and between friends, can even be negative! We won't have real "agents" until models can interrupt one another and talk over each other. Otherwise these latencies compound to a pretty miserable experience.

Relatedly, Guillermo - I've contributed PRs to reduce the latency of tool calling APIs to the AI SDK and Websockets to Next.js. Let's break free of request-response and remove the floor on latency.

Re: Show HN: A fast OSS voice assistant

#12
What's the model behind it? I asked a simple question (that others LLM got it right without a problem) and this answered somethign completely wrong (and curious, since I don't know where the hallucination came from)

Re: Show HN: A fast OSS voice assistant

#13
post #2

This looks cool, but I would have said it's more like an OSS frontend to some closed-source proprietary cloud stuff, which adds up to a voice assistant. (Not your server, not your code!)

Step into my cloud, said the spider to the serf.

Thanks, you've inspired a silly little poem:

  "Step into my cloud," said the spider to the serf
  "Your data's safe here, protected from the earth"
  But as he uploads, bit by bit he'll see
  The silken strands that bind his destiny
  "Scaling's easy," it promises with a smile
  But switching costs accumulate, all the while
  The serf's apps and files, once free to roam
  Are now trapped in a rented home
  The spider's web, so soft and full of ease
  Soon becomes a cage the serf can't leave

Re: Show HN: A fast OSS voice assistant

#14
post #7

So who made this? Vercel? I know this is being posted by the Vercel CEO. Did you “commission” this as an ad? Or was it maybe built by a customer, and you helped him get visibility? What’s the story? I take it that Show HN is not just about the creation but also about the creator and the journey behind what’s being shown.

Looking at the git repo (https://github.com/ai-ng/swift), it was made by some web developer, not Vercel. Likely OP (Vercel CEO) just made a mistake posting it as a "Show HN".

Re: Show HN: A fast OSS voice assistant

#15

Earlier quoted context omitted.

Step into my cloud, said the spider to the serf.

Thanks, you've inspired a silly little poem: "Step into my cloud," said the spider to the serf "Your data's safe here, protected from the earth" But as he uploads, bit by bit he'll see The silken strands that bind his destiny "Scaling's easy," it promises with a smile But switching costs accumulate, all the while The serf's apps and files, once free to roam Are now trapped in a rented home The spider's web, so soft a…

HN poetry! How lovely. Thanks for sharing your creative work.

Re: Show HN: A fast OSS voice assistant

#18
post #12

What's the model behind it? I asked a simple question (that others LLM got it right without a problem) and this answered somethign completely wrong (and curious, since I don't know where the hallucination came from)

Looks like it's using llama3-8b-8192 as the LLM [1], which is a relatively small model, so hallucination is quite likely.

[1]: https://github.com/ai-ng/swift/blob/7d1f993b095abc4a51cf9c70...

Re: Show HN: A fast OSS voice assistant

#19
post #14
post #7

So who made this? Vercel? I know this is being posted by the Vercel CEO. Did you “commission” this as an ad? Or was it maybe built by a customer, and you helped him get visibility? What’s the story? I take it that Show HN is not just about the creation but also about the creator and the journey behind what’s being shown.

Looking at the git repo ( https://github.com/ai-ng/swift ), it was made by some web developer, not Vercel. Likely OP (Vercel CEO) just made a mistake posting it as a "Show HN".

What i learned today is that elevenlabs has some serious competition from cartesia... like WOW

Re: Show HN: A fast OSS voice assistant

#20
post #7

So who made this? Vercel? I know this is being posted by the Vercel CEO. Did you “commission” this as an ad? Or was it maybe built by a customer, and you helped him get visibility? What’s the story? I take it that Show HN is not just about the creation but also about the creator and the journey behind what’s being shown.

Hi - I'm the developer who built this with Guillermo. We started an open source org (ai-ng) to play around with ideas that use cutting-edge AI products.

I'm 16, and have only been programming for a few years, so it's a good opportunity for me to learn a lot about web development and engineering.

Post reply on HN