Skip to yearly menu bar Skip to main content


IBM

Expo Demonstration

Prompt Declaration Language (PDL)

Mandana Vaziri

West Exhibition Hall A-B1
[ ] [ Project Page ]
Mon 14 Jul 4 p.m. PDT — 8 p.m. PDT

Abstract:

Programming with LLMs requires careful orchestration of prompts with workflow logic and agentic patterns. Unfortunately, previous frameworks rely on deeply buried prompts that work well for a specific model and pattern but are difficult to adapt to new settings. We designed PDL, a new programming language for LLMs. PDL keeps prompts at the forefront using YAML, with a small set of simple but powerful logic blocks to assemble workflows or agents. Prompt contexts are accumulated implicitly, simplifying model chaining. PDL comes with visual tools for observability and experimentation and the implementation automatically parallelizes model calls. PDL supports a variety of model providers, including but not limited to IBM's watsonx-ai with Granite models and the new granite-io library.

Live content is unavailable. Log in and register to view live content