DSPy: The framework for programming—not prompting—language models
Python
feature(dspy): generate a graphical representation of modules
Franck Stephane Ndzomga0c1326d3a01d
diff --git a/dspy/experimental/module_graph.py b/dspy/experimental/module_graph.pyindex cf23b04f1..4857f9703 100644--- a/dspy/experimental/module_graph.py+++ b/dspy/experimental/module_graph.py@@ -120,7 +120,7 @@ class ModuleGraph:# dspy.settings.configure(lm=llm, rm=colbertv2_wiki)# class GenerateAnswer(dspy.Signature):-# "Answer with long and detailled answers"+# "Answer with long and detailed answers"# context = dspy.InputField(desc="may content relevant facts")# question = dspy.InputField()# answer = dspy.OutputField(desc="often between 10 and 50 words")