From 16e64d889a4c19b21e3e9ced759607437d731899 Mon Sep 17 00:00:00 2001 From: standby24x7 Date: Tue, 26 Mar 2024 22:54:31 +0900 Subject: [PATCH] docs: Update function "run" to "invoke" in fake_llm.ipynb (#19570) This patch updates function "run" to "invoke" in fake_llm.ipynb. Without this patch, you see following warning. LangChainDeprecationWarning: The function `run` was deprecated in LangChain 0.1.0 and will be removed in 0.2.0. Use invoke instead. Signed-off-by: Masanari Iida --- cookbook/fake_llm.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/fake_llm.ipynb b/cookbook/fake_llm.ipynb index 7d6fb84bb1..7af20417bf 100644 --- a/cookbook/fake_llm.ipynb +++ b/cookbook/fake_llm.ipynb @@ -100,7 +100,7 @@ } ], "source": [ - "agent.run(\"whats 2 + 2\")" + "agent.invoke(\"whats 2 + 2\")" ] }, {