No history yet

Advanced Reasoning Frameworks

Forcing the AI to Think

When you ask a large language model a complex question, it often tries to jump straight to the answer. This is a bit like a student solving a maths problem in their head. They might get it right, but if they make a mistake along the way, it's hard to spot where things went wrong.

(CoT) prompting fixes this. Instead of just asking for the final answer, you instruct the AI to “think step-by-step.” This simple phrase forces the model to externalise its reasoning process, breaking down a complex problem into a series of smaller, logical steps. Each step builds on the last, creating a transparent trail of logic that you can follow.

This approach isn't just for maths. It's incredibly effective for tasks like debugging code, planning a project, or analysing a legal document. By forcing the AI to show its work, you not only increase the accuracy of the final output but also gain the ability to intervene and correct its course if it starts to go astray.

Building Workflows with Prompts

Some tasks are too big for a single prompt, no matter how well-crafted. Trying to get an AI to write a complete business plan in one go is like asking a chef to prepare a five-course meal in a single pot. The solution is Prompt Chaining, where you break a large objective into a sequence of smaller, interconnected prompts.

The output from one prompt becomes the input for the next. This creates a workflow, or a pipeline, that guides the AI through a complex process from start to finish. Each step is focused and manageable, ensuring higher quality and greater control over the final outcome.

This modular approach is powerful. You can swap out prompts, add new steps, or run different inputs through the same chain. It transforms the AI from a simple question-and-answer machine into a customisable engine for completing complex, multi-stage tasks.

Prompts That Improve Themselves

What if you could use AI to help you write better prompts? That's the idea behind and self-refinement loops. Instead of manually tweaking a prompt over and over, you instruct the AI to critique and improve its own instructions.

A common technique is the Self-Ask loop. Here, the AI first analyses a question to see if it has any follow-up questions it needs to answer first. It then answers those sub-questions before tackling the main one. This prevents it from making assumptions and fills in any missing context. For example, if you ask "Are solar panels a good investment for homeowners in Scotland?", the AI might first ask and answer sub-questions like "What is the average annual sunlight in Scotland?" and "What are the current government subsidies for solar panels in the UK?"

Self-Refinement goes a step further. You can ask the AI to produce an initial draft and then provide a follow-up prompt that asks it to critique its own work. For example: "Review the previous response. Identify any logical fallacies or weak arguments. Then, rewrite the response to address these weaknesses."

This creates an iterative loop where the AI acts as both creator and critic, progressively improving the quality of the output without constant human intervention.

Mastering these reasoning frameworks shifts your interaction with AI from simple conversation to systematic direction. You are no longer just asking questions; you are designing and orchestrating complex problem-solving processes.

Quiz Questions 1/5

What is the primary benefit of instructing an AI to “think step-by-step”?

Quiz Questions 2/5

Which of the following scenarios is the best use case for Prompt Chaining?