Update chatgpt_plugins.ipynb (#2745)

Changed deprecated requests to requests_all in plugins example
This commit is contained in:
Nuhman Pk 2023-04-12 11:15:31 +05:30 committed by GitHub
parent b38a6ea7df
commit b5bbe601fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",