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

15 lines
296 B
YAML
Raw Normal View History

2022-11-20 04:32:45 +00:00
_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:"