langchain/docs/modules/prompts/how_to_guides.rst
Harrison Chase 985496f4be
Docs refactor (#480)
Big docs refactor! Motivation is to make it easier for people to find
resources they are looking for. To accomplish this, there are now three
main sections:

- Getting Started: steps for getting started, walking through most core
functionality
- Modules: these are different modules of functionality that langchain
provides. Each part here has a "getting started", "how to", "key
concepts" and "reference" section (except in a few select cases where it
didnt easily fit).
- Use Cases: this is to separate use cases (like summarization, question
answering, evaluation, etc) from the modules, and provide a different
entry point to the code base.

There is also a full reference section, as well as extra resources
(glossary, gallery, etc)

Co-authored-by: Shreya Rajpal <ShreyaR@users.noreply.github.com>
2023-01-02 08:24:09 -08:00

35 lines
1.2 KiB
ReStructuredText

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.
`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