langchain/docs/examples/prompts/few_shot_prompt.yaml
2022-11-19 20:32:45 -08:00

15 lines
296 B
YAML

_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.json
suffix:
"Input: {adjective}\nOutput:"