Show HN: AI Bartender in a Virtual Bar
mangobox.aiNote: The avatar will talk to you, so make sure you check your volume!
Hello HN! I've seen a bunch of AI character type stuff online, but all of them were boring chat interfaces. I thought it would be more fun to give the characters an avatar and a 3d environment to interact with.
The stack I'm using is Claude 3.5 for the LLM, OpenAI TTS, Stable Diffusion for generating drinks, and three.js for rendering. I exposed the prompt I'm using so people can play around with it by clicking the robot icon.
If people find it interesting, I might add more environments, character customization options, etc.
Hope you enjoy and let me know your thoughts/questions in the comments! If you want to know more, follow me on Twitter or join the Discord!
https://x.com/neelmango I feel like I'm missing something. I asked her for a cocktail. She made the cocktail. The glass kept changing into a different glass. There is no way to drink the cocktail. I asked for some olives. She didn't give me any olives but told me she had. I still can't drink the cocktail. Edit: I tried again. This time I asked for a perfect martini, and some olives. She told me she was making it. She stopped. There was no glass. When I said "OK" a martini glass appeared. It had a wedge of lime on the rim, and the olives were in my martini. This is the worst cocktail bar I've ever visited. Sorry about that, I agree that the drink making logic is pretty broken right now! It was kind of a little easter egg that I added on very recently without much testing. I asked for a tomato juice and she said they don't have tomato juice and recommended a bloody mary. I asked what ingredients go into a bloody mary. She said her manager called and there's a problem with the server. I asked what non alcoholic drinks they had. Was offered a normal list. I responded “Sparkling water works” Response:
Sorry! I just got a call from the manager, he said there's a problem with the server. Please come back later. Fyi Sorry about that, looks like the servers are a bit overloaded now! And yea, I don't have a pre-programmed menu yet so the responses about that are a bit random! I tried it, other than the high latency, it is pretty fun. can't wait to see something similar in a RPG game. Thanks! Yea the latency is kinda high now because of the TTS. I turned it off by default now so it should be faster unless you want it on. The bar tender seems a mite out of breath, as if she just ran up several flights of stairs. you're not wrong. I've been trying to find a good TTS that's more realistic and sounds less like the built-in OS robot sounding ones. Seems like there are not a lot of good ones that also have low latency for claude 3.5, is it done purely from prompt engineering? Silicon Valley is a documentary: https://youtu.be/qyiF3z36H2o?si=9ZsfAFOxSFO5yJgl&t=22