Few-shot and reasoning — examples that work, and the CoT trap on reasoning models — step 5 of 9
Build a few-shot example block. Each example has input and
output keys. Format each as "Input: <input>\nOutput: <output>\n\n",
then join all examples into a single string.
Expected output:
Input: a
Output: 1
Input: b
Output: 2
⌘↵ runs the editor.read, then continue.
Few-shot and reasoning — examples that work, and the CoT trap on reasoning models — step 5 of 9
Build a few-shot example block. Each example has input and
output keys. Format each as "Input: <input>\nOutput: <output>\n\n",
then join all examples into a single string.
Expected output:
Input: a
Output: 1
Input: b
Output: 2
⌘↵ runs the editor.read, then continue.