DSPy: The framework for programming—not prompting—language models
Python
2
Omar Khattab10a188c6b3f4
diff --git a/docs/building-blocks/2-modules.md b/docs/building-blocks/2-modules.mdindex 72e33fafb..0eacef9fe 100644--- a/docs/building-blocks/2-modules.md+++ b/docs/building-blocks/2-modules.md@@ -2,12 +2,4 @@sidebar_position: 3----# Modules--A **DSPy module** is a building block for programs that use LMs.--- Each built-in module abstracts a **prompting technique** (like chain of thought or ReAct). Crucially, they are generalized to handle any [DSPy Signature]().--- A DSPy module has **learnable parameters** (i.e., the little pieces comprising the prompt and the LM weights) and can be invoked (called) to process inputs and return outputs.--- Multiple modules can be composed into bigger modules (programs). DSPy modules are inspired directly by NN modules in PyTorch, but applied to LM programs.+# Modules