Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Update compiling_langchain.ipynb

Omar Khattab93ff48e40d58
diff --git a/examples/tweets/compiling_langchain.ipynb b/examples/tweets/compiling_langchain.ipynb
index 16b23307c..e847df323 100644
--- a/examples/tweets/compiling_langchain.ipynb
+++ b/examples/tweets/compiling_langchain.ipynb
@@ -94,7 +94,7 @@
"\n",
"set_llm_cache(SQLiteCache(database_path=\"cache.db\"))\n",
"\n",
- "llm = dspy.OpenAI(model_name=\"gpt-3.5-turbo-instruct\", temperature=0)\n",
+ "llm = OpenAI(model_name=\"gpt-3.5-turbo-instruct\", temperature=0)\n",
"retrieve = lambda x: dspy.Retrieve(k=5)(x[\"question\"]).passages"
]
},