[](https://js.langchain.com/docs/how_to/sequence/): LLM should read this page when chaining runnables together, composing prompts and chains, or understanding input/output formatting for chaining. This page explains how to chain two or more runnables together into a sequence using the .pipe() method, and provides examples of chaining prompt templates, chat models, and output parsers, as well as combining chains and handling input/output formatting.

