The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: Update .run() to .invoke() (#24520)
C K Ashbyab036c1a4c46
diff --git a/docs/docs/integrations/tools/yahoo_finance_news.ipynb b/docs/docs/integrations/tools/yahoo_finance_news.ipynbindex 91872eddf7..743e358a95 100644--- a/docs/docs/integrations/tools/yahoo_finance_news.ipynb+++ b/docs/docs/integrations/tools/yahoo_finance_news.ipynb@@ -102,8 +102,8 @@}],"source": [- "agent_chain.run(\n",- " \"What happens today with Microsoft stocks?\",\n",+ "agent_chain.invoke(\n",+ " \"What happened today with Microsoft stocks?\",\n",")"]},@@ -147,7 +147,7 @@}],"source": [- "agent_chain.run(\n",+ "agent_chain.invoke(\n"," \"How does Microsoft feels today comparing with Nvidia?\",\n",")"]@@ -188,7 +188,7 @@}],"source": [- "tool.run(\"NVDA\")"+ "tool.invoke(\"NVDA\")"]},{@@ -210,7 +210,7 @@}],"source": [- "res = tool.run(\"AAPL\")\n",+ "res = tool.invoke(\"AAPL\")\n","print(res)"]},