| Name | Type | Description |
|---|---|---|
examples* | list[str] | List of examples to use in the prompt. |
suffix* | str | String to go after the list of examples. Should generally set up the user's input. |
input_variables* | list[str] | A list of variable names the final prompt template will expect. |
example_separator | str | Default: '\n\n' |
prefix | str | Default: '' |
Take examples in list format with prefix and suffix to create a prompt.
Intended to be used as a way to dynamically create a prompt from examples.
The separator to use in between examples.
String that should go before any examples.
Generally includes examples.