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