GH-300 - Apply prompt engineering and context crafting - Section 4.2

Apply zero-shot and few-shot prompting and prompt-crafting best practices.

Apply zero-shot and few-shot prompting, choose between them for a task, and follow prompt-crafting best practices: be specific, provide examples, give the model a role, and break a large request into steps. Recognise the prompt patterns that produce better Copilot output.

Zero-shot promptingFew-shot promptingPrompt best practicesExamples in prompts

More in this domain

Back to all Apply prompt engineering and context crafting objectives, or the GH-300 cert hub.

Examworthy is not affiliated with or endorsed by GitHub. Original, blueprint-aligned practice material only.