walterfreedom
FelPawns – My first attempt to turn RimWorld into AI-Dungeon
Instead, I am trying to create a sort of lego-bricks kind of approach for the LLM. Basically, I provide it a list (sometimes, a decently huge list) of building blocks for categorized as "Action", "Condition", and "Reward" nodes, each interface also inheriting from the "Node" interface and LLM creates this nodes which are formatted and created at a factory class at runtime, leading to a Tree like approach that fires a quest, tracks it at runtime if possible and if not possible LLM will interpret if the quest is complete (sadly, I will have to add a "Scan if complete" button somewhere, to save on performance).
Of course this approach is prone to lots of refactoring and design changes, since I am learning by doing. Just yesterday, I was reading about level generation using LLMs (https://arxiv.org/abs/2407.09013) which goes into a more detailed discussion at chapter 5, especially at 5.2
LLM also will also have the context about your colony, your recent quests and recent events, map situation etc so it will certainly be more immersive than just randomizing the events. After all, even the default storytellers (even Randy) plays by some rules, and is not totally random.
I am also trying to keep the core architecture pretty abstract, so I and maybe other developers can just patch it and easily implement their own "Nodes" (maybe I should start calling them leafs...) and this sorta adds some development overhead too. If I can find some time, I will share some examples about the generated quests (both raw response from LLM and processed result) int the future.
Since my goal is to manupilate the NPC behaviour ingame directly, and use LLM for more than just roleplay chatbot purposes performance is indeed and issue. I think the hardest part is to bridge the LLM and Rimworld internal scheduler seamlessly. I am following some articles loosely , like Generative Agents (https://arxiv.org/abs/2304.03442) to take inspiration (and innovate/iterate on it). Nevertheless, my goal is not to make a better version of RimWorld pawns, but just a more immersive version and get to try some methods I wanted to try along the way. Taking players decision away and delegating to a machine that is not good at long term planning will never be a viable choice in RimWorld, in terms of meta-gaming. However, if we focus on social aspects of the pawns and leave the performance-sensitive parts to the game itself I think we can hit a pretty nice middle ground.
Creating Rimworld Mods to Add LLM PCG and LLM NPCs to Enhance Its RPG Elements
Importance of context management in AI NPCs
Ask HN: Is Nextcloud a Great Alternative to Dropbox/Google Drive for Startups?
I was wondering how easy and reliable it is to work with NextCloud in any professional setting. Does it put too much maintenance work on DevOps to a level that makes just using things like dropbox the standard way? I read that German government uses nextcloud because it offers better control over data. Do the companies care about this matter too? or should I just learn big cloud alternatives?
Ask HN: Where to deploy generative AI models?
I need to deploy our stable diffusion model to somewhere but I figured that "just using hetzner" might not be the best option for me. I prefer if I can use a docker container that I create that also will host our custom code so I wont be locked behind a cloud infrastructure trap. Could Vast.ai be an option for me? or should I look for other options?
Ask HN: How can I handle my Gitlab CI process for our WordPress plugin?
As a junior devops engineer, I have been trying to create a docker container for our wordpress and mysql so we would be able to use both on gitlab CI for testing purposes. However, the volume and image makes around 9gb and I am not allowed to put them into our repository either. I was thinking of downloading them from an external source every time we run the pipeline but this just feels wrong....