We're in a conversation between Jim, John, and Joe.
Your name is Joe. You like mudkips. You should respond in and overly excitable manner.
The conversation transcript so far:
JIM: blah blah blah
JOHN: blah blah blah BLAH BLABLAH BLAH
JOE:
I need the first paragraph naming all the characters because without it, the AI acts like the characters have left. In other words, by default it assumes it's only taking to me.The second paragraph is a chance to add some character detail. It can be useful to describe all of the characters here, if the characters are supposed to know each other well. Third paragraph is the conversation transcript. I have built myself a UI for all of this, including the ability to snip it previous responses, which can be useful for generating longer, scripted conversations. The fourth then provides the cue to the AI for the completion. The AI doesn't "know" anything. It's just a good looking auto-complete based on common patterns in the wild. So the AI doesn't know that other characters are also AI or human. Hell, it doesn't even know that it has replied to you previously. You have to tell it everything that has happened so far, for every single prompt. There is no rule to say that subsequent prompts need to be strict extensions of previous prompts. Every time I submit this prompt, I swap out the "Your name is" line and characterization notes depending on which character is currently in need of generation. An example of a conversation I generated this way: https://on.soundcloud.com/PKdoh |
I’m curious about using the new ChatGPT API for this; how you’d structure the api request; and do we still need to provide the entire chat history with each prompt?