langchain/docs/modules/prompts/examples/few_shot_prompt_yaml_examples.yaml

15 lines
296 B
YAML
Raw Normal View History

_type: few_shot
input_variables:
["adjective"]
prefix:
Write antonyms for the following words.
example_prompt:
input_variables:
["input", "output"]
template:
"Input: {input}\nOutput: {output}"
examples:
examples.yaml
suffix:
"Input: {adjective}\nOutput:"