update extract-docs

This commit is contained in:
pulvedu 2025-03-19 15:10:36 -04:00
parent bb4391a2be
commit 1833378240

View File

@ -333,7 +333,7 @@
"# Create an Agent Executor to handle tool execution\n", "# Create an Agent Executor to handle tool execution\n",
"agent_executor = AgentExecutor(agent=agent, tools=[tavily_search_tool], verbose=True)\n", "agent_executor = AgentExecutor(agent=agent, tools=[tavily_search_tool], verbose=True)\n",
"\n", "\n",
"user_input = (\"['https://en.wikipedia.org/wiki/Albert_Einstein','https://en.wikipedia.org/wiki/Theoretical_physics']\")\n", "user_input = \"['https://en.wikipedia.org/wiki/Albert_Einstein','https://en.wikipedia.org/wiki/Theoretical_physics']\"\n",
"\n", "\n",
"# Construct input properly as a dictionary\n", "# Construct input properly as a dictionary\n",
"response = agent_executor.invoke({\"messages\": [HumanMessage(content=user_input)]})\n", "response = agent_executor.invoke({\"messages\": [HumanMessage(content=user_input)]})\n",