Update chatgpt_plugins.ipynb (#2745)

Changed deprecated requests to requests_all in plugins example
fix_agent_callbacks
Nuhman Pk 1 year ago committed by GitHub
parent b38a6ea7df
commit b5bbe601fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,7 +81,7 @@
],
"source": [
"llm = ChatOpenAI(temperature=0,)\n",
"tools = load_tools([\"requests\"] )\n",
"tools = load_tools([\"requests_all\"] )\n",
"tools += [tool]\n",
"\n",
"agent_chain = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)\n",

Loading…
Cancel
Save