Agentic Design Patterns (opens in new tab)
## 1. Prompt Chaining (Pipeline Pattern) - Reduces drift and hallucinations over single prompt - Break down complex query into specialized, specific parts - Subsequent query depends on previous query output - Output has to be well-structured (crucial) - Each query: - Runs as a unit of work - Can run sub-queries in parallel - Can enrich with external sources - Can have conditional queries - Can refine queries and ask follow-up questions - Use cases: Information Processing workflows, Complex Q...
Read the original article