Debate
A recipe that composes calls to multiple agents
Let’s implement debate to see how recipes can compose together multiple calls to agents. We’ll investigate a question by having two agents take different sides on the same question.
To do so, we’ll talk about:
How to represent debates as lists of turns.
How to render debates to prompts.
How to write a recipe that iteratively calls agents with these prompts, building up the debate step by step.
Last updated