LangChainGo / prompts /few_shot_prompt.json
lizhen
add load prompts
1c6d1f6
raw
history blame
372 Bytes
{
"_type": "few_shot",
"input_variables": ["adjective"],
"prefix": "Write antonyms for the following words.",
"example_prompt": {
"_type": "prompt",
"input_variables": ["input", "output"],
"template": "Input: {input}\nOutput: {output}"
},
"examples": "prompts/examples.json",
"suffix": "Input: {adjective}\nOutput:"
}