Ir para o conteúdo
Menu
Português

DSPy

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

framework Frameworks MIT 3 relationships

Visão geral

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.

Grafo de tecnologias

Como DSPy se liga ao resto do stack.

Aplicado a

Ferramentas

Software que implementa ou se integra com DSPy.

LLM Frameworks