- Do chain prompting where each character gets a separate prompt for the dialogue. Here you'll give it all the character info needed to figure out what the character would do (emotions, background, the story context) and then have GPT4 take passes at what this character would think/do/say.
- Optionally, you can use some sort of reACT or chain of thought prompting to proof-read/critique the answer to minimize noise. I haven't fully explored this, but I think this agent needs to know the entire story outline/context.
- After you get this, you can use an instruction-tuned agent like text-davinci or text-davinci-edit to actually write the prose. It works really well with few-shot examples. It's much better at creative writing. I'm sad they consider it legacy because to me it's the _only_ way to get usable creative writing.
- Now run the rest of the story. You may need to keep some sort of state about the character so that it informs the next character interaction, but I haven't gotten that far in my research.