[WSJF-4] Add few-shot calibration examples to AI extractor prompt #13

Open
opened 2026-06-27 10:45:50 +02:00 by bullitt · 0 comments
Owner

Context

Article: 'Few-shot calibration ensures evaluator judgment aligns with preferences.'

Problem

Our AI prompt has no examples. The model guesses the desired output format from instructions alone, leading to inconsistent quality.

Proposal

  • Add 3 few-shot examples to SYSTEM_PROMPT:
    1. DHL 'ist unterwegs' email → expected extraction + field_map
    2. Amazon 'Geliefert' email → expected extraction + field_map
    3. Hermes 'auf dem Weg' email → expected extraction + field_map
  • Ensures consistent field naming, title style, and field_map strategy choices

WSJF: 4

## Context Article: 'Few-shot calibration ensures evaluator judgment aligns with preferences.' ## Problem Our AI prompt has no examples. The model guesses the desired output format from instructions alone, leading to inconsistent quality. ## Proposal - Add 3 few-shot examples to SYSTEM_PROMPT: 1. DHL 'ist unterwegs' email → expected extraction + field_map 2. Amazon 'Geliefert' email → expected extraction + field_map 3. Hermes 'auf dem Weg' email → expected extraction + field_map - Ensures consistent field naming, title style, and field_map strategy choices ## WSJF: 4
Sign in to join this conversation.
No labels
arch
harness
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bullitt/trackbox#13
No description provided.