֍
Learn how to implement Mixture of Agents
Language models can perform better on tasks when given the opportunity to reflect on a proposed response. "Mixture of Agents" is a pattern (coined by Together AI (opens in a new tab)) in which multiple different LLMs propose responses, and subsequent LLM steps evaluate and synthesize those responses into a single improved response.
This pattern is simple to implement with Substrate, automatically parallelized, and easy to extend.