Multi-Turn Conversation
A 3-step recipe with ChatGPT. We can help you get access.
Recipe · 3 steps
Multi-Turn Conversation
with ChatGPT · Artificial Intelligence Management
Chain two Responses API turns and list the resulting input items.
- Create the first stored response that opens the conversation.
- Create the follow-up response, passing previous_response_id so the model treats the opening turn as conversation context.
- List the input items of the follow-up response to confirm the chained conversation history is present.
What you'll need to have ready
- apiKey: OpenAI API key used as the Bearer credential.
- model: Model ID used to generate the responses (e.g. gpt-4o).
- firstInput: The opening prompt for the conversation.
- followUpInput: The follow-up prompt that should reuse the prior context.
For your developer
Arazzo workflow chatgpt:multi-turn-conversation, 3 operations: createResponse → createResponse → listResponseInputItems. Specs on APIs.io.