Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update dspy notebook to reflect new instrumentation for v2.5 and above #4946

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tutorials/tracing/dspy_tracing_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install \"regex~=2023.10.3\" dspy-ai # DSPy requires an old version of regex that conflicts with the installed version on Colab\n",
"!pip install arize-phoenix openinference-instrumentation-dspy opentelemetry-exporter-otlp"
"!pip install \"regex~=2023.10.3\" \"dspy-ai>=2.5.0\" # DSPy requires an old version of regex that conflicts with the installed version on Colab\n",
"!pip install arize-phoenix \"openinference-instrumentation-dspy>1.1.12\" opentelemetry-exporter-otlp"
]
},
{
Expand Down Expand Up @@ -116,7 +116,7 @@
"metadata": {},
"outputs": [],
"source": [
"turbo = dspy.OpenAI(model=\"gpt-3.5-turbo\")\n",
"turbo = dspy.LM(\"openai/gpt-4\", cache=False)\n",
"colbertv2_wiki17_abstracts = dspy.ColBERTv2(\n",
" url=\"http://20.102.90.50:2017/wiki17_abstracts\" # endpoint for a hosted ColBERTv2 service\n",
")\n",
Expand Down
Loading