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.
- Async API for Chain
- Creating a custom Chain
- Loading from LangChainHub
- LLM Chain
- Additional ways of running LLM Chain
- Parsing the outputs
- Initialize from string
- Sequential Chains
- Serialization
- Transformation Chain
Index-related Chains
Chains related to working with indexes.
- Analyze Document
- Chat Over Documents with Chat History
- Graph QA
- Hypothetical Document Embeddings
- Question Answering with Sources
- Question Answering
- Summarization
- Retrieval Question/Answering
- Retrieval Question Answering with Sources
- Vector DB Text Generation
All other chains
All other types of chains!