1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { rimworld_moddescriptions } from "https://esm.town/v/ttul/rimworld_moddescriptions";
import { ask_gpt4 } from "https://esm.town/v/ttul/ask_gpt4";
export const rimworld_modpicker = async (question) => {
return ask_gpt4(
`Given these descriptions of Rimworld mods,
I want to create a mod pack that will be good for the use case listed below,
which is surrounded by {{}}. Please suggest a list of mods to start with and
summarize why they are a good choice. The output should be valid HTML. {{` +
question + `}}
` + rimworld_moddescriptions,
);
};