Hacker News new | ask | show | jobs
by _akhe 776 days ago
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.)

1 comments

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 :)