Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Misc hotpotqa_with_assertions

Shangyint828b4e2790b0
diff --git a/hotpotqa_with_assertions.ipynb b/hotpotqa_with_assertions.ipynb
index 1597ef126..9e07b11bb 100644
--- a/hotpotqa_with_assertions.ipynb
+++ b/hotpotqa_with_assertions.ipynb
@@ -304,7 +304,7 @@
"source": [
"# Yes Compilation + Yes Assertion\n",
"baleen = SimplifiedBaleen()\n",
- "teleprompter = BootstrapFewShot(\n",
+ "teleprompter = BootstrapFewShotWithRandomSearch(\n",
" metric=validate_context_and_answer_and_hops,\n",
" max_bootstrapped_demos=max_bootstrapped_demos,\n",
" num_candidate_programs=6,\n",