RimWorld

RimWorld

OpenRimWorldAI
Showing 1-10 of 15 entries
< 1  2 >
Update: Feb 15 @ 9:07pm

v.1.1:
Updates to support "AskAPawn" Updates:
- Mirrored "FindPawnByName()" from Overlord to "AI_Information" to support "AskAPawn"
- Added new parameters, "includePawnDetails" & "internalThoughts", for SendPromptAsync():
includePawnDetails: Attempts to find pawn based name in header/subject if possible and includes additional details.
internalThoughts: If true, looks for a semi-colon and parses that part of the response as internal thoughts.
public static async Task<string> SendPromptAsync(
string prompt,
string promptRules = "useDefaultDef",
string identity = "useDefaultDef",
string promptInstruction = "useDefaultDef",
bool showAlert=false,
LetterDef letterType = null,
bool includePawnDetails=false,
bool internalThoughts=false
)

Update: Feb 9 @ 12:54pm

v.1.0:
- Added Ollama as an option for AI. I do not recommend it especially if your computer can not process large amounts of data. For Daily Reports the character length is usually around 4000 characters.
- Added a new setting "RimWorld Background" which will front-load "What RimWorld Is" to the AI. Adds ~1200 characters. (This is useful for models that do not have RimWorld as part of their training data)
- RimWorld_Background can also be modified in the Defs.

Update: Feb 8 @ 5:42pm

v.0.9:
- Converted Prompts (only for Base at this time). Prompts can be modified be editing "Defs/AIPromptDefs.xml"
- Minor changes to settings and how they're referenced. (Added saving for "AI Debug Level")

Update: Feb 3 @ 9:59pm

v.0.8:
- Information feed improvements for what is sent to the AI
- Minor bug fixes and corrections. Corrected "misinformation" that was sent to AI.
- Changes to support future expansion: OpenRimWorldAI.Overlord

Update: Jan 27 @ 12:23am

v.0.7:
- Bug Fix:
- An error in AI_Information due to mishandling a null value for rooms (Likely due to premature release)
- Fixed an issue where saving settings would save a null value for the Model if not manually selected.

Update: Jan 26 @ 12:46pm

v.0.6:
- Tweaks:
- Tilde(~) Characters were originally removed by default for parsing, this will only happen now if "ShowAlert" is true, allowing parsing on ~ for other tasks.
- Original prompts were being URL Encoded which almost tripled the character count. Replaced this with JSON encoding specifically for quotes to prevent request from breaking.
- Map Size was added to the colony information that's sent to the AI.
- Pawn positions are also added for the AI to see.
- Massively refined the rules AI needs to follow to stay in character. This should provide EVEN BETTER responses!

Update: Jan 26 @ 12:58am

Quickfix for saving

Update: Jan 26 @ 12:53am

[Auto-generated text]: Update on 1/26/2025 3:53:02 AM.

Update: Jan 25 @ 8:32pm

v.0.5:
- Update:
- Added more details for the AI
- General refinement of the C# scripts.
- Added a new button to disable "Daily Reports" (allows for this to be used a library for other devs)
- Bug Fix:
- Settings window wasn't saving after recent changes, now they do!

Update: Jan 24 @ 9:41pm

v.0.4: (Current version)
- Refined prompts to deliver more natural results
- Refined AI_Information Outputs and applied CSV formatting where applicable to reduce character length and reduce tokens
- Updated relationship outputs to show all pawn relationships.