YouTube10 Nov 2025
10m

Prompt Engineering for LLMs, PDL, & LangChain in Action

Podcast cover

IBM Technology

The speaker discusses the evolution of "prompt engineering" from a niche skill to a more structured software engineering discipline due to the probabilistic nature of Large Language Models (LLMs). They illustrate this with an example of using an LLM to structure bug reports into precise JSON format, highlighting issues like inconsistent output. The speaker then introduces two tools, LangChain and PDL (Prompt Declaration Language), which address these challenges. LangChain is presented as a "code-first" framework that uses a pipeline of "runnables" for validation, retries, and fallbacks to ensure consistent LLM output. PDL is described as a "spec-first" declarative language using YAML files to define data shape, steps, and control flow for LLM workflows, emphasizing type checking and explicit control. Both tools are presented as essential for transforming prompt whispering into reliable software engineering practices.

Outlines

Sign in to continue reading, translating and more.

Continue
 
mindmap screenshot
Preview
preview episode cover
How to Get Rich: Every EpisodeNaval