File size: 1,345 Bytes
acc4ffe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
32
33
How-To Guides
=============

If you're new to the library, you may want to start with the `Quickstart <./getting_started.html>`_.

The user guide here shows more advanced workflows and how to use the library in different ways.

`Custom Prompt Template <./examples/custom_prompt_template.html>`_: How to create and use a custom PromptTemplate, the logic that decides how input variables get formatted into a prompt.

`Custom Example Selector <./examples/custom_example_selector.html>`_: How to create and use a custom ExampleSelector (the class responsible for choosing which examples to use in a prompt).

`Few Shot Prompt Templates <./examples/few_shot_examples.html>`_: How to include examples in the prompt.

`Example Selectors <./examples/example_selectors.html>`_: How to use different types of example selectors.

`Prompt Serialization <./examples/prompt_serialization.html>`_: A walkthrough of how to serialize prompts to and from disk.

`Few Shot Prompt Examples <./examples/few_shot_examples.html>`_: Examples of Few Shot Prompt Templates.



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

   ./examples/custom_prompt_template.md
   ./examples/custom_example_selector.md
   ./examples/few_shot_examples.ipynb
   ./examples/prompt_serialization.ipynb
   ./examples/few_shot_examples_data.ipynb
   ./examples/example_selectors.ipynb