Back to feed
2026-08-07-the-real-python-podcast-episode-306-programmatically-developing-llm-prom-440e6142ee

Programmatically Developing LLM Prompts With DSPy

Real Python

EDITOR BRIEF

This episode discusses moving from hand-written prompts for an LLM app to defining prompts with code. It also features Brett Kennedy talking about his book, "Building LLM Applications with DSPy."

INSIGHTS

For beginners, this shows a more structured way to work with prompts instead of editing text by hand. A good next step is to try DSPy and compare a manual prompt with a programmatic one.

COMMENTS

0/40
0/2000

Loading comments…