Skip to content

Commit

Permalink
minor on format
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhichao HAN committed Jan 2, 2024
1 parent c9756c6 commit 065609d
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions docs/docs/integrations/tools/requests.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 1,
"id": "3f27ee3d",
"metadata": {},
"outputs": [
Expand All @@ -145,15 +145,15 @@
}
],
"source": [
"from langchain.utilities import JsonRequestsWrapper\n",
"\n",
"from langchain_community.utilities.requests import JsonRequestsWrapper\n",
"\n",
"requests = JsonRequestsWrapper()\n",
"\n",
"\n",
"rval = requests.get('https://api.agify.io/?name=jackson')\n",
"rval = requests.get(\"https://api.agify.io/?name=jackson\")\n",
"\n",
"print(f'''\n",
"print(\n",
" f\"\"\"\n",
"\n",
"Type - {type(rval)}\n",
"\n",
Expand All @@ -162,8 +162,17 @@
"{rval}\n",
"```\n",
"\n",
"''')"
"\"\"\"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "52a1aa15",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 065609d

Please sign in to comment.