DSPy: The framework for programming—not prompting—language models
Python
Update compiling_langchain.ipynb
arnavsinghvi1196dc58eb4242
diff --git a/examples/tweets/compiling_langchain.ipynb b/examples/tweets/compiling_langchain.ipynbindex e847df323..16b23307c 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 = OpenAI(model_name=\"gpt-3.5-turbo-instruct\", temperature=0)\n",+ "llm = dspy.OpenAI(model_name=\"gpt-3.5-turbo-instruct\", temperature=0)\n","retrieve = lambda x: dspy.Retrieve(k=5)(x[\"question\"]).passages"]},