Show HN: AI Bartender in a Virtual Bar
10 points by masterspy7 10 months ago | 11 commentsHello 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!
- saaaaaam 10 months agoI 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.
- masterspy7 10 months agoSorry 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.
- masterspy7 10 months ago
- sam29681749 10 months agoI 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.
- AndrewKemendo 10 months agoI 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
- masterspy7 10 months agoSorry 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!
- masterspy7 10 months ago
- billconan 10 months agoI tried it, other than the high latency, it is pretty fun.
can't wait to see something similar in a RPG game.
- masterspy7 10 months agoThanks! 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.
- masterspy7 10 months ago
- beardyw 10 months agoThe bar tender seems a mite out of breath, as if she just ran up several flights of stairs.
- masterspy7 10 months agoyou'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
- masterspy7 10 months ago
- lqcfcjx 10 months agofor claude 3.5, is it done purely from prompt engineering?
- reducesuffering 10 months agoSilicon Valley is a documentary: https://youtu.be/qyiF3z36H2o?si=9ZsfAFOxSFO5yJgl&t=22