0
votes
0
resp
110
views
Anthropic's metaprompt, from the official cookbook, is a battle tested 'prompt that writes prompts'. Feed it a task and an optional list of input variables; it returns a fully stru
Anthropic's metaprompt, from the official cookbook, is a battle tested 'prompt that writes prompts'. Feed it a task and an optional list of input variables; it returns a fully stru
From misc/generate test cases.ipynb in the cookbook. A meta prompt that takes a prompt template with {{variables}} and generates synthetic test cases in a structured XML format the
From the same Anthropic prompt engineering guide. The canonical XML tagging recipe for any prompt that mixes instructions, context, examples, and variable inputs used throughout th
The most pulled RAG prompt on LangChain Hub. Three sentence answer cap plus an explicit "say you don't know" clause makes it a safe default for production RAG. Source: https://smit