Chains

Discover how the LangChain framework allows us to execute a sequence of calls to LLMs using chains.

When using LLMs, some applications have relatively complex requirements and a sequence of calls for performing an operation. Here’s when chains come into play.

What is a chain?

A chain contributes to a sequence of decision-based LLM calls connected by inputs and outputs. It can handle multiple elements of an application using prompt templates, which makes the streamlined process smooth and enhances the application’s capabilities.

Get hands-on with 1200+ tech skills courses.