How-To Guides#
A chain is made up of links, which can be either primitives or other chains. Primitives can be either prompts, models, arbitrary functions, or other chains. The examples here are broken up into three sections:
Generic Functionality
Covers both generic chains (that are useful in a wide variety of applications) as well as generic functionality related to those chains.
Index-related Chains
Chains related to working with indexes.
All other chains
All other types of chains!
- API Chains
- Self-Critique Chain with Constitutional AI
- FLARE
- GraphCypherQAChain
- NebulaGraphQAChain
- BashChain
- LLMCheckerChain
- LLM Math
- LLMRequestsChain
- LLMSummarizationCheckerChain
- Moderation
- Router Chains: Selecting from multiple prompts with MultiPromptChain
- Router Chains: Selecting from multiple prompts with MultiRetrievalQAChain
- OpenAPI Chain
- PAL
- SQL Chain example