DSPy: The framework for programming—not prompting—language models
Python
Describe how to generate class diagram.
Robert P. Goldmandc0d78befe25
diff --git a/docs/docs/building-blocks/6-optimizers.md b/docs/docs/building-blocks/6-optimizers.mdindex 96dc9b3af..12e0529f4 100644--- a/docs/docs/building-blocks/6-optimizers.md+++ b/docs/docs/building-blocks/6-optimizers.md@@ -32,6 +32,11 @@ In many cases, we found that compiling leads to better prompts than human writin## What DSPy Optimizers are currently available?+<!-- The following diagram was generated by: -->+<!-- 1. Running symilar on the teleprompter module to extract the python hierarchy as a Graphviz dot file -->+<!-- 2. Hand-editing the resulting dot file to remove classes that are not teleprompters/optimizers (e.g., classes for data structures manipulated by optimizers). -->+<!-- 3. Using dot to compile the `.dot` file into a PNG -->+[Subclasses of Teleprompter](figures/teleprompter-classes.png)All of these can be accessed via `from dspy.teleprompt import *`.