Addressing Errors During Tool Execution via Prompts
Was this section helpful?
ReAct: Synergizing Reasoning and Acting in Language Models, Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, Yuan Cao, 2023International Conference on Learning Representations (ICLR)DOI: 10.48550/arXiv.2210.03629 - This paper introduces a key framework for large language models to combine reasoning and acting when using tools, highlighting the architectural considerations for agents interacting with external environments, which implicitly includes handling various outcomes and potential failures.
Designing Data-Intensive Applications: The Ideas Behind Reliable, Scalable, and Maintainable Systems, Martin Kleppmann, 2017 (O'Reilly Media) - While not directly about LLMs, this book offers fundamental principles for building resilient systems, covering topics such as fault tolerance, distributed system challenges, and various error handling patterns (e.g., retries, timeouts, graceful degradation) that are directly applicable to designing robust agentic workflows.
Prompt engineering, OpenAI, 2024 (OpenAI) - The official documentation provides current strategies and best practices for crafting effective prompts for large language models, including methods for guiding their behavior in complex scenarios and managing unexpected outputs, which is relevant to instructing agents on error detection and recovery.
Challenges and Applications of Large Language Model Agents, Andrii Kompanets, Gautam Pai, Remco Duits, Davide Leonetti, Bert Snijder, 2024arXiv preprint arXiv:2403.17725DOI: 10.48550/arXiv.2403.17725 - This survey discusses the current challenges and limitations of large language model agents, including aspects related to their reliability and robustness in real-world scenarios, offering insights into the broader context of why effective error handling is crucial for these systems.