File size: 1,164 Bytes
cfd3735
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>