{ "cells": [ { "cell_type": "markdown", "id": "62f974e4c168f7d3", "metadata": {}, "source": [ "# Mixture of Reasoning: Enhancing LLM Performance with Multiple Techniques\n", "\n", "Mixture of Reasoning is a prompt engineering technique where you set up multiple calls, each utilizing a different prompt engineering technique. This approach is best when you want to be able to handle a wide variety of responses, or have a variety of techniques that you have found to be successful for responding to a type of prompt.\n", "\n", "
Mirascope Concepts Used
\n", "Background
\n", "\n",
"In the original paper, a trained classifier is used to determine the best answer, but since we do not have access to that, we will use an LLM to evaluate the best answer instead. To get a clean separation between the reasoning and the actual output, we'll use response_model
in our final evaluation call.\n",
"
Additional Real-World Applications
\n", "