An PromptTemplate used to format a single example.
A list of variable names the prompt template expects
OptionalexampleAn BaseExampleSelector Examples to format into the prompt. Exactly one of this or examples must be provided.
OptionalexampleString separator used to join the prefix, the examples, and suffix.
OptionalexamplesExamples to format into the prompt. Exactly one of this or exampleSelector must be provided.
OptionaloutputHow to parse the output of calling an LLM on this formatted prompt
OptionalpartialPartial variables
OptionalprefixA prompt template string to put before the examples.
OptionalsuffixA prompt template string to put after the examples.
OptionaltemplateThe format of the prompt template. Options are: 'f-string'
OptionalvalidateWhether or not to try validating the template on initialization.
Input common to all prompt templates.