It’s for a TTRPG. TTRPG chargen tends to be pretty elaborate and complicated, so writing a script that asks an LLM questions like, “You are a crooked undercover detective. What is your preferred Skill: Streetwise, Brawl, or Crafts?” Makes that process easier. It should have the sense to respond “Streetwise.”
Only difference is, my script goes through each step one by one, and modifies the submitted possible answers based on past choices, while also providing the entire character sheet (so far in the process) as context clues.
It makes surprisingly good choices, including the freeform parts where you make shit up whole cloth. But you have to go through the trouble of breaking it down into steps, and spelling out what is and isn’t a legal choice.