mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 07:35:18 +00:00
update extract-docs
This commit is contained in:
parent
bb4391a2be
commit
1833378240
@ -333,7 +333,7 @@
|
||||
"# Create an Agent Executor to handle tool execution\n",
|
||||
"agent_executor = AgentExecutor(agent=agent, tools=[tavily_search_tool], verbose=True)\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",
|
||||
"# Construct input properly as a dictionary\n",
|
||||
"response = agent_executor.invoke({\"messages\": [HumanMessage(content=user_input)]})\n",
|
||||
|
Loading…
Reference in New Issue
Block a user