DSPy: The framework for programming—not prompting—language models
Python
docs: fixes typos - removes extra bracket and adds preposition
Rishab Mallick2615dcd7d7cf
diff --git a/docs/docs/building-blocks/2-signatures.md b/docs/docs/building-blocks/2-signatures.mdindex 5ce2e56fb..9439d8721 100644--- a/docs/docs/building-blocks/2-signatures.md+++ b/docs/docs/building-blocks/2-signatures.md@@ -6,7 +6,7 @@ sidebar_position: 2When we assign tasks to LMs in DSPy, we specify the behavior we need as a Signature.-**A signature is a declarative specification of input/output behavior of a DSPy module.** Signatures allow you tell the LM _what_ it needs to do, rather than specify _how_ we should ask the LM to do it.+**A signature is a declarative specification of input/output behavior of a DSPy module.** Signatures allow you to tell the LM _what_ it needs to do, rather than specify _how_ we should ask the LM to do it.You're probably familiar with function signatures, which specify the input and output arguments and their types. DSPy signatures are similar, but the differences are that:diff --git a/docs/docs/building-blocks/4-data.md b/docs/docs/building-blocks/4-data.mdindex bfd161322..dedf19d56 100644--- a/docs/docs/building-blocks/4-data.md+++ b/docs/docs/building-blocks/4-data.md@@ -78,7 +78,7 @@ input_key_only = article_summary.inputs()non_input_key_only = article_summary.labels()print("Example object with Input fields only:", input_key_only)-print("Example object with Non-Input fields only:", non_input_key_only))+print("Example object with Non-Input fields only:", non_input_key_only)```**Output**diff --git a/docs/docs/deep-dive/data-handling/examples.mdx b/docs/docs/deep-dive/data-handling/examples.mdxindex 2403600ee..be1e43b42 100644--- a/docs/docs/deep-dive/data-handling/examples.mdx+++ b/docs/docs/deep-dive/data-handling/examples.mdx@@ -68,7 +68,7 @@ input_key_only = article_summary.inputs()non_input_key_only = article_summary.labels()print("Example object with Input fields only:", input_key_only)-print("Example object with Non-Input fields only:", non_input_key_only))+print("Example object with Non-Input fields only:", non_input_key_only)```**Output**