Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Talk to Santa – An Interactive ChatGPT-Powered App for Kids (apps.apple.com)
11 points by TonyHaenn on Dec 8, 2023 | hide | past | favorite | 2 comments
Hi HN! Long time lurker, first time poster. I built something that I'm super proud of. I've been super fascinated by voice + AI since Siri and Alexa first launched. Sadly, both of those fell a bit short. With ChatGPT, it seemed like the promise of a fully interactive voice agent was a bit closer.

So I built an app that lets kids talk to Santa. The most important part to me was making it feel like a real conversation with low latency.

Powered by ChatGPT, Santa is fully interactive. He'll tell stories, answer questions about the North Pole, and even help parents land any message they need help reinforcing (e.g. Go to bed on time, don't hit your brother). My five year old LOVES talking to Santa, and I'm hoping a few other kids out there get to experience the same magic this holiday season.

This started as a "I bet I could build it" and "I'm super curious about elixir" -- It's an elixir backend that coordinates between the speech to text API (Google), an LLM (ChatGPT) and a text to speech API (Eleven Labs). We used Membrane as the audio processing framework which gave me a bunch of stuff (voice activity events + coordinating the audio pipelines).

The trickiest part was figuring out how to 1) manage the latency across the three APIs but still get Santa to respond in a reasonable timeframe and 2) how to handle an API failures and make sure the conversation recovered.

I'm not an engineer by training, much more of a self taught hobbyist. So much of this was hacked together by me reading docs + asking ChatGPT for advice.



It would be interesting to see things like what you've delivered when LiveView Native is available. Congrats!


Thank you!

React Native still has some sharp corners. The expo tooling is pretty rad, but I could never get the Android version to build.

Hopefully LiveView Native has a path around some of those issues. I agree it’d be pretty cool to have one language end to end.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: