How-To Guides
=============

A chain is made up of links, which can be either primitives or other chains.
Primitives can be either `prompts <../prompts.html>`_, `models <../models.html>`_, 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.

.. toctree::
   :maxdepth: 1
   :glob:

   ./generic/*

**Index-related Chains**

Chains related to working with indexes.

.. toctree::
   :maxdepth: 1
   :glob:

   ./index_examples/*


**All other chains**

All other types of chains!

.. toctree::
   :maxdepth: 1
   :glob:

   ./examples/*

