DSPy: The framework for programming—not prompting—language models
Python
Update longformqa_assertions.ipynb
arnavsinghvi11596f9cbe3d4f
diff --git a/examples/longformqa/longformqa_assertions.ipynb b/examples/longformqa/longformqa_assertions.ipynbindex b26a063ce..f814c60dd 100644--- a/examples/longformqa/longformqa_assertions.ipynb+++ b/examples/longformqa/longformqa_assertions.ipynb@@ -56,15 +56,6 @@"We will also install **DSPy** if it's not there already."]},- {- "cell_type": "code",- "source": [- "%cd dspy/examples/longformqa"- ],- "metadata": {},- "execution_count": null,- "outputs": []- },{"cell_type": "code","execution_count": null,@@ -89,6 +80,8 @@"if repo_path not in sys.path:\n"," sys.path.append(repo_path)\n","\n",+ "%cd dspy/examples/longformqa",+ "\n","import pkg_resources # Install the package if it's not installed\n","if not \"dspy-ai\" in {pkg.key for pkg in pkg_resources.working_set}:\n"," !pip install -U pip\n",