Prompt Engineering4.9 · 496 ratings

Few-Shot Example Designer

Create a few-shot prompt for teaching an LLM to [task]

Few-Shot

Prompt

Create a few-shot prompt for teaching an LLM to [task]. Design 5 high-quality input-output examples that: (1) Cover the full range of input variation. (2) Demonstrate edge cases in examples 4-5. (3) Show consistent output format. (4) Implicitly teach the underlying pattern without stating it. (5) Are ordered from simple to complex. After the examples, write the final task prompt. Explain: why you chose these specific examples and what pattern they collectively teach.

Recommended models

claudegpt-4ogemini

More in Prompt Engineering