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

12 lines
338 B
JSON
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:"
}