.rst
.pdf
How-To Guides
How-To Guides#
If you’re new to the library, you may want to start with the Quickstart.
The user guide here shows more advanced workflows and how to use the library in different ways.
Custom Prompt Template: How to create and use a custom PromptTemplate, the logic that decides how input variables get formatted into a prompt.
Custom Example Selector: How to create and use a custom ExampleSelector (the class responsible for choosing which examples to use in a prompt).
Few Shot Prompt Templates: How to include examples in the prompt.
Example Selectors: How to use different types of example selectors.
Prompt Serialization: A walkthrough of how to serialize prompts to and from disk.
Few Shot Prompt Examples: Examples of Few Shot Prompt Templates.
Partial Prompt Template: How to partial Prompt Templates.
previous
Key Concepts
next
Create a custom prompt template
By Harrison Chase
    
      © Copyright 2023, Harrison Chase.
      
  Last updated on Mar 22, 2023.