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 <standby24x7@gmail.com>
This commit is contained in:
standby24x7
2024-03-26 22:54:31 +09:00
committed by GitHub
parent c93d4ea91c
commit 16e64d889a

View File

@@ -100,7 +100,7 @@
}
],
"source": [
"agent.run(\"whats 2 + 2\")"
"agent.invoke(\"whats 2 + 2\")"
]
},
{