SIGNAL//DESK
AI/MLsrc: Roost FA glossary v2

Few-shot

Show the AI 3-5 examples in the prompt; it pattern-matches the next case. This is the most effective way to ensure the model adopts your specific firm's tone in client communications.

Few-shot is a prompting technique where you include 3-5 input-output examples directly in the prompt to guide the model's behavior. It is the most effective way to ensure the AI adopts your firm's specific tone and formatting standards for client-facing outputs.

Few-shot prompting is an in-context learning method where the operator provides 3-5 demonstration pairs within the prompt to steer the model's latent pattern-matching toward a target distribution. This technique effectively constrains the model's output format and reasoning style, serving as the primary mechanism for aligning generative outputs with specific firm-level stylistic requirements in client communications.

evolution

  1. 2017-06 · history
    Attention Is All You Need

    The Transformer architecture introduced the attention mechanism, providing the structural foundation for in-context learning.

  2. 2020-05 · history
    GPT-3 Paper Publication

    The 'Language Models are Few-Shot Learners' paper formally defined and demonstrated the capability of models to perform tasks via few-shot prompting without weight updates.

  3. 2022-11 · history
    ChatGPT Launch

    The release of ChatGPT popularized few-shot prompting as a primary interface for end-users to steer model behavior and tone.

  4. 2023-03 · history
    GPT-4 Release

    GPT-4 significantly expanded the context window and reasoning capabilities, allowing for more complex and reliable few-shot pattern matching.


← all terms