Promptabide Logo
227

Few-shot examples or a JSON schema — which actually holds up better?

published

For structured extraction I can either paste three example outputs or describe a JSON schema. Examples feel more reliable in practice but cost a lot of tokens on every call. Has anyone measured this properly on a decent-sized set? Does the answer change with structured-output modes now available?

few-shot
json schema
structured output
extraction
5
4415
55d ago
DP

diya_patel

Diya Patel

0 Answers

No answers yet

Be the first to answer this question!

Add an Answer

Be the first to answer this question and help the community!

Top Contributors
Loading...
Follow PromptAbide

New bides, prompt breakdowns and community picks, on whichever feed you already read.

Trending Tags
Loading...