mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
985496f4be
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>
30 lines
1.1 KiB
ReStructuredText
30 lines
1.1 KiB
ReStructuredText
Prompt Templates
|
|
==========================
|
|
|
|
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 <prompts/getting_started.html>`_: An overview of all the functionality LangChain provides for working with and constructing prompts.
|
|
|
|
- `Key Concepts <prompts/key_concepts.html>`_: A conceptual guide going over the various concepts related to prompts.
|
|
|
|
- `How-To Guides <prompts/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: Prompts
|
|
:hidden:
|
|
|
|
prompts/getting_started.md
|
|
prompts/key_concepts.md
|
|
prompts/how_to_guides.rst
|
|
Reference</reference/prompts.rst> |