{ "cells": [ { "cell_type": "markdown", "id": "f34864b5", "metadata": {}, "source": [ "# Requests\n", "\n", "The web contains a lot of information that LLMs do not have access to. In order to easily let LLMs interact with that information, we provide a wrapper around the Python Requests module that takes in a URL and fetches data from that URL." ] }, { "cell_type": "code", "execution_count": 3, "id": "81aae09e", "metadata": {}, "outputs": [], "source": [ "from langchain.utilities import RequestsWrapper" ] }, { "cell_type": "code", "execution_count": 4, "id": "fd210142", "metadata": {}, "outputs": [], "source": [ "requests = RequestsWrapper()" ] }, { "cell_type": "code", "execution_count": 5, "id": "29a77bb2", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'