DSPy
モジュール型 AI ソフトウェアを構築するためのオープンソースの宣言型フレームワーク
パフォーマンス
RD 人気指数
RD 成長指数
比較
更新をフォローする
フォローリスト
キャラクター
DSPyについて
DSPy is an open-source framework for large language model programs that turns prompt engineering into an optimizable program structure: developers describe input-output signatures declaratively and an optimizer searches for prompt and example combinations. Its users are engineers and researchers building multi-stage reasoning pipelines, and it is common in retrieval-augmented and multi-hop question answering.
The framework rests on three abstractions: signatures define the input-output contract of a task, modules encapsulate call logic, and optimizers compile programs against a set of metrics. Optimizers include GEPA, which evolves instructions, and MIPROv2, which runs Bayesian search, and both can swap the underlying model without changing business code. An RLM module released in January 2026 supports recursive decomposition of long contexts, and a type system update in October 2026 added static checking to signatures.