{"slug":"few-shot-prompting","article":{"kind":"article","title":"Few-shot prompting","category":"AI Engineering Subjects","entityType":"pattern","homepage":"https://chronoscope.hopperlabs.ai/#/few-shot-prompting","summary":"Few-shot prompting places a small set of examples in the prompt to demonstrate the task.","sources":["source:public-6613c5eb5612080b","source:ref-2cab3ea10b8b","source:ref-2d5db6a63b1c","source:public-2d76bc16fcc7825d"],"relations":[{"rel":"covered-in","to":"article:ai-engineering"},{"to":"article:context-selection","rel":"shares-milestones"},{"to":"article:gpt-family","rel":"shares-milestones"},{"to":"article:alec-radford","rel":"shares-milestones"}],"id":"article:few-shot-prompting","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},"sections":[{"kind":"section","article":"article:few-shot-prompting","title":"GPT-3 puts few-shot prompting to the test","text":"OpenAI's paper evaluated a 175-billion-parameter model on tasks specified through instructions or examples in the prompt. It showed why the choice of examples could change what a model did without retraining. The authors evaluated tasks by supplying examples in the prompt without updating the model weights.","order":0,"sources":["source:public-6613c5eb5612080b","source:ref-2cab3ea10b8b"],"id":"section:chronoscope-few-shot-prompting","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"events":[{"kind":"event","title":"GPT-3 puts few-shot prompting to the test","date":"2020-05-28","articles":["article:few-shot-prompting"],"detail":"OpenAI's paper evaluated a 175-billion-parameter model on tasks specified through instructions or examples in the prompt. It showed why the choice of examples could change what a model did without retraining.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2020-gpt-3","sources":["source:ref-2cab3ea10b8b"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2020-gpt-3","version":"29199f6068c0848e5fab","digest":"sha256:32f9d0eecd58083051a042298080f6dd6e9788ce1c5da84debe1518b0afe737e"},"id":"event:chronoscope-dd05e937e6133126","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"Researchers test how to choose in-context examples","date":"2021-01-17","articles":["article:few-shot-prompting"],"detail":"The study compared strategies for selecting demonstrations for a prompt, including retrieval of examples that resemble the input.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2021-researchers-test-how-to-choose-in-context-examples","sources":["source:ref-2d5db6a63b1c"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2021-researchers-test-how-to-choose-in-context-examples","version":"29199f6068c0848e5fab","digest":"sha256:43e14b2947786013d7ee46736c6d9e21a377ddc6756ef424c2336b83d60c87ed"},"id":"event:chronoscope-c1a4c9b009069563","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"Researchers compare apparent capability jumps across model scales","date":"2022-06-15","articles":["article:few-shot-prompting"],"detail":"The authors documented benchmark behaviors that appeared only at larger scales in the systems they examined. Later work questioned how much the choice of metric contributed.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2022-researchers-compare-apparent-capability-jumps-across-model-scales","sources":["source:public-2d76bc16fcc7825d"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2022-researchers-compare-apparent-capability-jumps-across-model-scales","version":"29199f6068c0848e5fab","digest":"sha256:18df692bc32724e84d6e8be73fb3defe0690d2560ee8b917a42e0bb3730a7ca1"},"id":"event:chronoscope-86370a6bd13330b7","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"examples":[],"links":[],"sources":[{"kind":"source","title":"Few-shot prompting in Chronoscope","url":"https://chronoscope.hopperlabs.ai/#/few-shot-prompting","id":"source:public-6613c5eb5612080b","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"GPT-3 puts few-shot prompting to the test","url":"https://arxiv.org/abs/2005.14165","id":"source:ref-2cab3ea10b8b","from":"2026-11-25","revision":"15bba3f210d2eebbfbe032a9480c9889bb7b3bd6e461bf2344036e2ff492a84c","recordedAt":"2026-11-25T10:40:20.185Z"},{"kind":"source","title":"Researchers test how to choose in-context examples","url":"https://arxiv.org/abs/2101.06804","id":"source:ref-2d5db6a63b1c","from":"2026-11-25","revision":"20585ad96f8a42f359db8075c5966dc2f17a11f966f4395d28677f15b20f36c0","recordedAt":"2026-11-25T10:40:20.496Z"},{"kind":"source","title":"Researchers compare apparent capability jumps across model scales","url":"https://arxiv.org/abs/2206.07682","id":"source:public-2d76bc16fcc7825d","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"related":[{"slug":"ai-engineering","title":"AI Engineering","category":"Agent engineering","entityType":"collection","rel":"covered-in"},{"slug":"context-selection","title":"Context selection","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"gpt-family","title":"GPT models","category":"AI Engineering Subjects","entityType":"model","rel":"shares-milestones"},{"slug":"alec-radford","title":"Alec Radford","category":"AI Engineering Subjects","entityType":"person","rel":"shares-milestones"}],"backlinks":[{"slug":"chain-of-thought","title":"Chain-of-thought prompting","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"context-selection","title":"Context selection","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"}],"history":[{"id":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z","message":"Publish the illustrated encyclopedia and connect verified public subject catalogs"}]}
