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