Beyond the Single Prompt
Most prompt engineering resources focus on single-turn interactions: one prompt, one response. But the highest-value use cases for AI β complex analysis, iterative design, personalised recommendation, debugging sessions β require multiple turns.
Multi-turn conversation design is not just 'chat.' It is a structured approach to guiding the model through a reasoning or production process that unfolds over several exchanges.
---
The Conversation State Problem
Each model call is stateless. The model has no memory of previous conversations unless you explicitly include them in the current request. This means managing conversation state is your responsibility.
What the Model Sees in Turn N
At turn N, the model receives the full conversation history: every message from turn 1 to turn N-1, plus the current user message. This is the context window in action.
As conversations grow longer, two problems emerge:
- Context window limits: Very long conversations eventually exceed the model's context window (though with 1M+ token windows in 2026, this is less common)
- Recency bias: Models pay more attention to recent messages. Important context from early turns can be effectively forgotten in practice even when it is technically present.
The Four Multi-Turn Conversation Architectures
Architecture 1: Progressive Refinement
Use the conversation to iteratively improve a single output. Each turn addresses a specific dimension.
Architecture 2: Structured Elicitation
Use turns to gather necessary information before the model attempts the main task.
``` Turn 1: "I want you to write a job description for a role I am hiring for. Before we start, ask me the 5 most important questions you need answered to write an excellent job description."
Get advanced blueprint resources
Enter your email to receive technical blueprints, checklists, and visual configurations accompanying this chapter.
No spam. Unsubscribe any time.
Turn 2: [User answers the questions]
Turn 3: "Now write the job description based on those answers."
Turn 1: "What are the three most important technical decisions for a new SaaS startup to get right?"Turn 2: "You mentioned [decision X]. Why is that more important than [decision Y]?"
Turn 3: "Given that, what would you prioritise differently for a startup with a non-technical founder versus one with a CTO?"
Turn 1: "You are an enthusiastic advocate for this product idea. Give me the strongest possible case for building it."Turn 2: "Now you are a skeptical investor who has seen 100 similar ideas fail. What are the three biggest reasons this will not work?"
Turn 3: "Now you are a pragmatic product manager. Given both perspectives, what is the highest-probability path to making this work?"
javascript const summary = await client.chat.completions.create({ messages: [ ...conversationHistory, { role: 'user', content: 'Summarise all decisions and conclusions from our conversation so far in bullet points.' } ] });const compressedHistory = [ { role: 'system', content: systemPrompt }, { role: 'assistant', content: 'Previous conversation summary:\n' + summary } ];
"Before we proceed, confirm: what are the three requirements we agreed on earlier?" Opening turn template: "We are going to [overall goal]. Here is the context you need: [context]. For this conversation, you are playing the role of [specific role]. In each turn, I will [what you will do]. You should [what the model should do in each turn]. Let's start with: [first actual task]." ```