Modern applications use programmatic pipelines (like DSPy or LangChain) where prompts are compiled dynamically from templates, few-shot examples are fetched based on embedding matches, and model routing is managed in code.
Instead of treating prompts as static text strings, programmatic pipelines treat them as components of an execution pipeline, dynamically compiling prompts based on task inputs.