Prompt Templates
==========================

.. note::
   `Conceptual Guide <https://docs.langchain.com/docs/components/prompts/prompt-template>`_


Language models take text as input - that text is commonly referred to as a prompt.
Typically this is not simply a hardcoded string but rather a combination of a template, some examples, and user input.
LangChain provides several classes and functions to make constructing and working with prompts easy.

The following sections of documentation are provided:

- `Getting Started <./prompt_templates/getting_started.html>`_: An overview of all the functionality LangChain provides for working with and constructing prompts.

- `How-To Guides <./prompt_templates/how_to_guides.html>`_: A collection of how-to guides. These highlight how to accomplish various objectives with our prompt class.

- `Reference <../../reference/prompts.html>`_: API reference documentation for all prompt classes.



.. toctree::
   :maxdepth: 1
   :caption: Prompt Templates
   :name: Prompt Templates
   :hidden:

   ./prompt_templates/getting_started.md
   ./prompt_templates/how_to_guides.rst
   Reference<../../reference/prompts.rst>