Adds AI Generated Messages to grouped sims!
Originally this was just supposed to be a proof of concept, but by now I put too much time into it and people want to try it out.
WARNING:
Very early version, use at your own risk, might even cause your game to crash if the ai spits something out the game doesn't like.
As usual, this is a debug build. Let me know of any errors you might encounter.
Requirements
- BepInEx Configuration Manager
- Make sure the folder in the zip is in your BepInEx plugins folder, the files cannot be freely in the plugins folder.
- If you're planning to use a local LLM see Running Locally below.
- For users that do not want to run a local llm or can't:
- Go to https://aistudio.google.com/app/u/1/apikey login and generate an API Key.
- Plug that API Key into the mod config.
- If you have no idea what any of the settings do, don't touch them, they are configured like my tests.
Usage
Once you have your local stuff setup or the google API key inserted, just invite sims and start talking to them with /group.
Be aware that this can most likely reach your usage limits with extended use if you're using the google api, i've integrated some fall backs but they do eventually run out as well.
They wont remember any previous sessions.
Running Locally
WINDOWS ONLY
Go to https://github.com/ggml-org/llama.cpp/releases/ and download the latest llama.cpp release that fits your requirements.
Then create a "llama" folder in the AIEnhancement folder that should be in your plugins folder.
Throw the llama stuff into that folder (llama-cli.exe is required!). (Should look something like Image)
Then put your models into the same folder.
Only .gguf models are supported.
You will need to setup all the values in the settings according to the model and to your liking.
(I highly recommend flan-t5-base-q4_k_m.gguf for the decision model)
Be aware that each sim will run their own instance of the model when a message needs to be generated, that means you need to calculate up to 3x the normal model usage.
Message times are dependent on how long the model takes to load into memory plus the time it actually takes to generate the message, this will happen each time the sim generates a message, unlike things like koboldai or text-generation-webui that tend to keep the model loaded in memory.
#1386424336931623104 message for latest version

there shouldn't be a cmd window popping up







