— Techniques

    Few-Shot Prompting

    Showing the AI 2-5 examples of the desired output before asking for a new one.

    What is Few-Shot Prompting?

    Few-shot prompting means including 2-5 worked examples in your prompt before asking the LLM to do a new task. The model picks up the pattern from the examples and applies it. Especially useful for output-formatting tasks where you want consistent structure (JSON schemas, specific tones, custom layouts).

    — Apply this

    From definitions to deployed projects.

    Knowing what a term means is step one. ONROL's AI Generalist track gets you shipping projects that use it.

    Reserve Free Masterclass