Skip to content
All technologies
Framework

LangChain

How a chain composes prompt, model and parser

Step 1 of 4

Input

The chain receives named inputs, such as a question and some retrieved context.

Each step has the same shape, so you can swap, reorder or add steps without rewriting the rest.