arXiv 2402.16823
Language Agents as Optimizable Graphs
By Mingchen Zhuge, Wenyi Wang, et al.
Published 2024-02-26
Discussion
Read the public discussion and references gathered around this paper.
Various human-designed prompt engineering techniques have been proposed to improve problem solvers based on Large Language Models (LLMs), yielding many disparate code bases. We unify these approaches by describing LLM-based agents as computational graphs. The nodes implement functions to process multimodal data or query LLMs, and the edges describe the information flow between operations. Graphs can be recursively cā¦