Skip to content

Commit 9dafdcc

Browse files
authored
Update RL Tutorial (#9008)
* Add blurb on installing dspy from source
1 parent 958923b commit 9dafdcc

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docs/docs/tutorials/rl_multihop/index.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
"\n",
1313
"```bash\n",
1414
"> pip install -U arbor-ai\n",
15+
"```\n",
16+
"\n",
17+
"You may also have to install DSPy from the main branch:\n",
18+
"```bash\n",
19+
"> pip install -U git+https://github.com/stanfordnlp/dspy.git@main\n",
1520
"```"
1621
]
1722
},

docs/docs/tutorials/rl_papillon/index.ipynb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515
"For this tutorial, you will also need [DSPy's Arbor RL framework](https://github.com/Ziems/arbor) which you can install with:\n",
1616
"```bash\n",
1717
"> pip install -U arbor-ai\n",
18-
"```"
18+
"```\n",
19+
"\n",
20+
"You may also have to install DSPy from the main branch:\n",
21+
"```bash\n",
22+
"> pip install -U git+https://github.com/stanfordnlp/dspy.git@main\n",
23+
"```\n"
1924
]
2025
},
2126
{

0 commit comments

Comments
 (0)