Human + AI Collaboration in prompt chaining: 100x quality for LLM output
A simple guide on prompt-chaining with human inputs, even for beginner. I want to share with you all a tip I regularly use to maximize the output quality when using LLMs. Prompt chaining may be familiar with some of you. However, my tip take a step further by incorporating “human inputs” into the chain. This method helps maximize AI’s efficiency + human’s expertise and creativity. I temporarily called it “human-in-loop-capability” in a prompt chain or an AI workflow. So what does this look like? Basically, we break down a large task into smaller, manageable subtasks. In each task, we - as human, provide AI with resources to make sure these subtasks be completed with high-quality. The final output we receive from AI will be of highest quality possible. Let take a practical example of how this technique can be applied to create high-quality SEO blog posts with AI. We design a process for AI to work just like how a human writes a good blog post: (1) brainstorming unique ideas → (2) researching (keywords, competitor’s blog post, the topic,…) → (3) drafting the first outline → (4) first draft: writing each subtopic comprehensively → before (5) finalizing the final SEO blog post → (6) on-page SEO optimization. → Next, we provide AI in each step with every possible “human inputs” for AI to learn from, and process the results that we expect. Inputs could be a resource, your ideas, your requirements in any form of text, files, images, url. 1- Brainstorming Unique Ideas: - Human inputs: • Company details • Target audience information • Desired topic In this initial stage, the AI is provided with essential information to generate relevant and unique ideas tailored to the company's target audience. The human reviewer then selects the most promising concept that aligns with the overall content strategy. 2 - Researching: - Human inputs: • Selection of the best idea that matches expectations from AI-generated list • Refinement of AI-conducted research • Focus on most relevant and valuable insights