Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update index.md

Omar Khattab3a78c68e83f3
diff --git a/docs/docs/index.md b/docs/docs/index.md
index 32f57563a..8bdbfc0e2 100644
--- a/docs/docs/index.md
+++ b/docs/docs/index.md
@@ -12,9 +12,12 @@ hide:
[![PyPI Downloads](https://static.pepy.tech/badge/dspy/month)](https://pepy.tech/projects/dspy)
-DSPy is the framework for _programming—rather than prompting—language models_. It allows you to iterate fast on **building modular AI systems** and offers algorithms for **optimizing their prompts and weights**, whether you're building simple classifiers, sophisticated RAG pipelines, or Agent loops.
+DSPy is a declarative framework for building AI software. It allows you to iterate fast on modular _code_, not brittle strings, and offers algorithms that **compile high-level modules into effective prompts and model weights**, whether you're building simple classifiers, sophisticated RAG pipelines, or Agent loops.
+
+DSPy stands for Declarative Self-improving Python. Conventionally, the most important part of your AI system is a bunch of long string prompts or a sequence of hand-stitched training jobs. Instead, DSPy lets you define your AI system by declaring typed Python functions, or `Signatures`, which DSPy can map into different implementations for different models, inference strategies, or learning algorithms.
+
+This higher-level abstraction makes AI software cleaner to build iteratively, easier to maintain, and more portable as new models and optimization techniques emerge. This [lecture](https://www.youtube.com/watch?v=JEMYuzrKLUw) is a good conceptual introduction. Meet the community, seek help, or start contributing via our [GitHub repo](https://github.com/stanfordnlp/dspy) and [Discord server](https://discord.gg/XCGy2WDCQB).
-DSPy stands for Declarative Self-improving Python. Instead of brittle prompts, you write compositional _Python code_ and use DSPy to **teach your LM to deliver high-quality outputs**. This [lecture](https://www.youtube.com/watch?v=JEMYuzrKLUw) is a good conceptual introduction. Meet the community, seek help, or start contributing via our [GitHub repo](https://github.com/stanfordnlp/dspy) and [Discord server](https://discord.gg/XCGy2WDCQB).
!!! info "Getting Started I: Install DSPy and set up your LM"