Custom LLM, LangChain Team, 2024 (LangChain) - Official documentation detailing the creation of custom LLM wrappers within LangChain, covering synchronous and asynchronous _call methods and referencing custom chat model implementations.
Custom Output Parser, LangChain Team, 2024 - Official documentation explaining the implementation of custom output parsers by inheriting BaseOutputParser, including methods like parse and get_format_instructions.
ReAct: Synergizing Reasoning and Acting in Language Models, Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, Yuan Cao, 2023arXiv preprint arXiv:2210.03629DOI: 10.48550/arXiv.2210.03629 - Introduces a general framework for LLM-based agents combining reasoning and acting, illustrating complex interaction patterns that often require custom prompt engineering and robust output parsing.