Router Chains, LangChain, 2024 (LangChain) - Provides the official explanation and implementation details for LangChain's router chain functionality.
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 - Introduces a general paradigm for LLMs to generate reasoning traces and task-specific actions, conceptually similar to how a router LLM decides on a specific action (executing a destination chain).
Toolformer: Language Models That Can Use Tools, Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, Thomas Scialom, 2023arXiv preprint arXiv:2302.04761DOI: 10.48550/arXiv.2302.04761 - Explores how language models can be trained to use external tools, which is a broader concept encompassing the router chain's function of selecting and invoking specialized processing paths.