forked from Archives/langchain
Update chatgpt_plugins.ipynb (#2745)
Changed deprecated requests to requests_all in plugins example
This commit is contained in:
parent
b38a6ea7df
commit
b5bbe601fb
@ -81,7 +81,7 @@
|
|||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"llm = ChatOpenAI(temperature=0,)\n",
|
"llm = ChatOpenAI(temperature=0,)\n",
|
||||||
"tools = load_tools([\"requests\"] )\n",
|
"tools = load_tools([\"requests_all\"] )\n",
|
||||||
"tools += [tool]\n",
|
"tools += [tool]\n",
|
||||||
"\n",
|
"\n",
|
||||||
"agent_chain = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)\n",
|
"agent_chain = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user