Hacker News new | past | comments | ask | show | jobs | submit login

I built a JavaScript library for creating LLM-based game NPCs, here's a video demo: https://github.com/bennyschmidt/ragdoll-studio/tree/master/e...

You drop all their knowledge into a file, like .txt. or .html and it uses RAG to learn everything in the file, so if it's a vendor things like shop inventory, prices, or if it's a storyteller/questgiver you can give it knowledge the player must uncover, etc.

It uses the LLM for natural sounding conversations and instructions ("speak in the style of..." etc.)




Well done! Hope your project gets some deserved attention, looks fine.


Thanks I appreciate it! Maybe when I start producing stuff with it and putting it on itch.io and other places, just need to get it out there outside dev circles :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: