Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Update README.md

Omar Khattabafe71a0fc7e2
diff --git a/README.md b/README.md
index e010f181f..04a9947f9 100644
--- a/README.md
+++ b/README.md
@@ -140,7 +140,7 @@ class GenerateSearchQuery(dspy.Signature):
self.generate_answer = dspy.ChainOfThought(GenerateSearchQuery)
```
-You can optionally provide a `prefix` and/or `desc` key for each input or output field to refine or constraint the behavior of modules using your signature.
+You can optionally provide a `prefix` and/or `desc` key for each input or output field to refine or constraint the behavior of modules using your signature. The description of the sub-task itself is specified as the docstring (i.e., `"""Write a simple..."""`).
#### 3.b) Asking **DSPy** to automatically optimize your program with `dspy.teleprompt.*`