Skip to main content

Getting Started: Chains

Using a language model in isolation is fine for some applications, but it is often useful to combine language models with other sources of information, third-party APIs, or even other language models. This is where the concept of a chain comes in.

LangChain provides a standard interface for chains, as well as a number of built-in chains that can be used out of the box. You can also create your own chains.