Design, version, and optimize prompts for production LLM applications.
| Pattern | When to Use | Example Use Case |
| Zero-shot | Simple, well-defined tasks | Classification, extraction | | Few-shot | Complex tasks needing examples | Format conversion, style matching | | CoT | Reasoning, math, logic | Problem solving, analysis | | Zero-shot CoT | Quick reasoning boost | Add "Let's think step by step" | | ReAct | Tool use, multi-step | Agent tasks, API calls |
Ingegneria tempestiva completa con catena di pensiero, apprendimento "low-shot", controllo delle versioni tempestive e ottimizzazione. Utilizzare durante la progettazione dei prompt, il miglioramento della precisione e la gestione del ciclo di vita dei prompt. Fonte: yonatangross/orchestkit.