Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Update RL Tutorial (#9008)

Noah Ziems9dafdcc7b1f8
diff --git a/docs/docs/tutorials/rl_multihop/index.ipynb b/docs/docs/tutorials/rl_multihop/index.ipynb
index bc4ecaf23..0ab7bd74e 100644
--- a/docs/docs/tutorials/rl_multihop/index.ipynb
+++ b/docs/docs/tutorials/rl_multihop/index.ipynb
@@ -12,6 +12,11 @@
"\n",
"```bash\n",
"> pip install -U arbor-ai\n",
+ "```\n",
+ "\n",
+ "You may also have to install DSPy from the main branch:\n",
+ "```bash\n",
+ "> pip install -U git+https://github.com/stanfordnlp/dspy.git@main\n",
"```"
]
},
diff --git a/docs/docs/tutorials/rl_papillon/index.ipynb b/docs/docs/tutorials/rl_papillon/index.ipynb
index 3b48d8e24..4a67b268a 100644
--- a/docs/docs/tutorials/rl_papillon/index.ipynb
+++ b/docs/docs/tutorials/rl_papillon/index.ipynb
@@ -15,7 +15,12 @@
"For this tutorial, you will also need [DSPy's Arbor RL framework](https://github.com/Ziems/arbor) which you can install with:\n",
"```bash\n",
"> pip install -U arbor-ai\n",
- "```"
+ "```\n",
+ "\n",
+ "You may also have to install DSPy from the main branch:\n",
+ "```bash\n",
+ "> pip install -U git+https://github.com/stanfordnlp/dspy.git@main\n",
+ "```\n"
]
},
{