Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Add DSPy visualizer to the README

Rogério Chaves4b6a731dc1d5
diff --git a/README.md b/README.md
index 5a5bd7c96..3ba6cc895 100644
--- a/README.md
+++ b/README.md
@@ -166,6 +166,14 @@ TODO: Add links to the state-of-the-art results by the University of Toronto on
There are also recent cool examples at [Weaviate's DSPy cookbook](https://github.com/weaviate/recipes/tree/main/integrations/llm-frameworks/dspy) by Connor Shorten. [See tutorial on YouTube](https://www.youtube.com/watch?v=CEuUG4Umfxs).
+
+### D) Visualization
+
+For visualizing the progress during the optimization process, LangWatch has a [DSPy Visualizer](https://docs.langwatch.ai/dspy-visualization/quickstart) to help understanding and debugging the optimizer by inspecting the prompts, signature and demonstrations being optimized, the examples being evaluated, as well as the LM calls and costs:
+
+![DSPy Visualizer](./docs/images/DSPy-visualizer.png)
+
+
## 3) Syntax: You're in charge of the workflow—it's free-form Python code!
**DSPy** hides tedious prompt engineering, but it cleanly exposes the important decisions you need to make: **[1]** what's your system design going to look like? **[2]** what are the important constraints on the behavior of your program?
diff --git a/docs/images/DSPy-visualizer.png b/docs/images/DSPy-visualizer.png
new file mode 100644
index 000000000..beb4d6cd6
Binary files /dev/null and b/docs/images/DSPy-visualizer.png differ