Skip to content

The agent engineering platform.

docs: Update function "run" to "invoke" in llm_math.ipynb (#18505)

standby24x76c9177681dcd
diff --git a/cookbook/llm_math.ipynb b/cookbook/llm_math.ipynb
index 6260be2f03..054e314dd2 100644
--- a/cookbook/llm_math.ipynb
+++ b/cookbook/llm_math.ipynb
@@ -51,7 +51,7 @@
"llm = OpenAI(temperature=0)\n",
"llm_math = LLMMathChain.from_llm(llm, verbose=True)\n",
"\n",
- "llm_math.run(\"What is 13 raised to the .3432 power?\")"
+ "llm_math.invoke(\"What is 13 raised to the .3432 power?\")"
]
},
{