Zum Inhalt springen
Menü
Deutsch

DSPy

Builds model pipelines as programs whose prompts are optimised rather than written.

framework Frameworks MIT 3 relationships

Überblick

DSPy treats a model pipeline as a program with declared inputs and outputs, and compiles the prompts by measuring which wording scores best on examples. It solves the problem that hand-tuned prompts are brittle: they encode one person's guess about phrasing and stop working when the model or the task shifts. It exists because prompt wording is a parameter that can be searched, and searching it beats guessing at it.

Technologiegraph

Wie DSPy mit dem übrigen Stack zusammenhängt.

Angewendet auf

Werkzeuge

Software, die DSPy implementiert oder integriert.

LLM Frameworks