Back/Design/Claude
IntermediateDesignClaude

How to Prototype Conversational AI Flows Using Claude's Golden Conversations

Design and refine a conversational AI by starting with ideal user dialogues in Claude. This workflow takes you from writing sample conversations to generating a fully interactive, LLM-powered prototype with a system prompt.

From How I AI

How I AI: Priya Badger's Workflow for AI Product Management and Prototyping at Yelp

with Claire Vo

How to Prototype Conversational AI Flows Using Claude's Golden Conversations

Tools Used

Claude

Anthropic AI assistant

Step-by-Step Guide

1

Generate Initial Sample Conversations

Begin by writing out 'golden conversations'—ideal sample dialogues between a user and your AI assistant. Use a detailed prompt in an LLM like Claude to set the scene, define roles, and specify desired features.

Prompt:
write a complete sample conversation between the consumer and AI assistant, where we want consumers to be able to upload their photo. Add some scenario requirements, like we want the assistant to analyze the photo, maybe provide some suggested replies, and continue that back and forth until they have enough info to submit quotes. Use assistant colon, user colon for labels. Write it as one continuous conversation.
2

Test with Real-World Scenarios and Iterate

Upload real-world images or data to test how the LLM handles them within your defined conversation flow. Generate more examples for different use cases to identify patterns and ensure the flow works across various scenarios.

Prompt:
Now create more examples based on these images. Label each conversation with a title and a number at the top.
Pro Tip: Pay attention to the LLM's 'thought process' if available. It provides valuable clues for debugging and understanding how the model is interpreting your prompt.
3

Refine and Polish Conversations

Review the generated conversations for qualitative aspects like image recognition quality, conversational flow, conciseness, and tone. Provide direct feedback to the LLM to refine the dialogue, such as adjusting the AI's tone or avoiding certain topics.

Prompt:
rewrite these conversations based on this feedback
4

Create an LLM-Powered Interactive Prototype

Use a feature like Claude Artifacts to turn your refined conversations into a working, interactive prototype. This step also generates a system prompt based on your examples, offering a fantastic way to learn how to write effective LLM instructions.

Prompt:
create an assistant app as an artifact, have a chat interface where the AI responds using the LLM that powers Claude. And then also create system prompt that is based on these example conversations. And then analyze these, uploaded photos, and include a camera icon in the input.
Pro Tip: Testing an interactive prototype gives you a much better feel for the user experience than a static text document. Pay attention to response length and speed in a mobile interface.

Become a 10x PM.
For just $5 / month.

We've made ChatPRD affordable so everyone from engineers to founders to Chief Product Officers can benefit from an AI PM.