{ "cells": [ { "cell_type": "markdown", "id": "3628bd00fa153674", "metadata": {}, "source": [ "# Least to Most: Enhancing LLM Reasoning with Subproblem Decomposition\n", "\n", "This recipe demonstrates how to implement the Least to Most technique using Large Language Models (LLMs) with Mirascope. Least to Most is a prompt engineering method that enhances an LLM's reasoning capabilities by breaking down complex problems into smaller, more manageable subproblems.\n", "\n", "
Mirascope Concepts Used
\n", "Background
\n", "\n", "Least to Most is a more extensive version of Chain of Thought, where separate calls are used to break down the original problem into subproblems as well as solve each individual step/subproblem. After solving each subproblem, the result is appended to the chat's history until the original problem is solved. Least to Most is an effective technique for symbolic and arithmetic reasoning tasks.\n", "
\n", "Additional Real-World Applications
\n", "