prmpt.onl

Un sito per i prompt AI

Few-shot Learning: Apprendimento per Esempi

Fonte: Capitolo 5 - Tecniche Avanzate
Categoria: Tecniche Avanzate
Livello: Intermedio
URL: prmpt.onl/102

Quando usarlo

Quando vuoi che l’AI impari il tuo stile specifico attraverso esempi concreti invece di lunghe spiegazioni. La tecnica più efficace per trasferire pattern, tone of voice, e format preferences all’AI.

Ideale per:

Template

[SPIEGAZIONE BREVE DEL TASK]

Ecco alcuni esempi di come dovrebbe essere il risultato:

ESEMPIO 1:
Input: [scenario/input specifico]
Output: [risultato desiderato perfetto]

ESEMPIO 2:
Input: [scenario/input diverso]  
Output: [altro risultato perfetto]

ESEMPIO 3:
Input: [terzo scenario]
Output: [terzo risultato perfetto]

Ora, usando lo stesso stile, pattern e qualitĂ  degli esempi sopra:

Input: [IL TUO SCENARIO REALE]
Output: [AI produrrĂ  output nello stesso stile]

Varianti

Per Creative Writing

Aggiungi: “Include tone of voice examples, character voice consistency, narrative style pattern, e creative structure template per consistent output.”

Per Business Communication

Aggiungi: “Focus su professional tone examples, stakeholder-appropriate language, persuasion patterns, e business outcome clarity.”

Per Technical Documentation

Aggiungi: “Include complexity level examples, audience-appropriate explanations, code-to-documentation pattern, e troubleshooting format consistency.”

Esempio di workflow

Input: “Voglio email commerciali che convertono per software SaaS B2B”

Template Setup:

Scrivi email commerciali ad alta conversione per software SaaS B2B.

ESEMPIO 1:
Input: Cold email per CFO, software financial reporting
Output: 
Subject: Cut monthly reporting from 3 days to 3 hours

Hi [Name],

Spoke with [mutual connection] who mentioned you're still manually consolidating P&L reports from multiple systems.

Quick question: How much time does your team spend each month pulling numbers from different tools?

Most CFOs I work with say 2-3 days minimum. We've helped companies like [similar company] automate this to 3 hours with real-time dashboards.

Worth a 15-minute conversation to see if it makes sense for [Company]?

Best,
[Signature]

ESEMPIO 2:
Input: Follow-up email dopo demo, procurement software
Output:
Subject: Next steps for [Company]'s procurement transformation

Hi [Name],

Great meeting you and the team yesterday. Three key takeaways:

1. Current manual approval process costs ~40 hours/week of admin time
2. Budget visibility is critical for Q2 planning  
3. Integration with existing ERP is non-negotiable

Based on your requirements, here's what I propose:

→ Pilot with your largest department (Marketing) 
→ 30-day implementation timeline
→ ROI target: 50% admin time reduction

I've attached a custom proposal with pricing. Available this week for any questions?

Best,
[Signature]

ESEMPIO 3:
Input: Riattivazione cliente perso, CRM software
Output:
Subject: What changed since last year?

Hi [Name],

Noticed you're not using [Product] anymore - what shifted?

Last time we spoke, lead management was your biggest pain point. Has that been solved, or just pushed to the back burner?

If it's still an issue, we've launched some features that might interest you:
- AI lead scoring (requested by 90% of customers)
- Slack integration for instant notifications
- One-click pipeline creation

15 minutes to show you what's new? No pressure if priorities changed.

Best,
[Signature]

Ora, usando lo stesso stile, pattern e qualitĂ  degli esempi sopra:

Input: Cold email per CTO, cybersecurity software, ha appena subito un breach
Output: [AI genererĂ  email seguendo il pattern degli esempi]

Esempio di risultato

AI Output seguendo il pattern:

Subject: Preventing the next security incident

Hi [Name],

Saw the news about [Company]'s recent incident. Hope the team is managing the response well.

Quick question: What's your biggest concern for preventing this from happening again?

Most CTOs I work with say it's the gap between detection and response time. The average breach goes undetected for 287 days.

We've helped companies like [similar size] reduce that to 12 minutes with automated threat response.

Worth discussing how to strengthen your security posture while you're rebuilding trust?

Best,
[Signature]

Tips per risultati migliori

  1. Quality examples: Gli esempi sono tutto - use your best work, non content mediocre
  2. Pattern consistency: Assicurati che tutti gli esempi seguano same structure/style per clear learning
  3. Diverse scenarios: Varia gli input examples per teach flexibility mentre maintaining pattern
  4. Incremental refinement: Start con 2-3 esempi, aggiungi altri se l’output non è perfect

Template correlati


📖 Da “Prompt Engineering: Il Nuovo Skill” di Marco Milani
đź”— Tutti i template: prmpt.onl/index
📱 Accesso rapido: [QR Code]

Ultimo aggiornamento: 24 Gennaio 2025