From 25c270b5a523b04bd5f742cf5ea99f9a47e444d8 Mon Sep 17 00:00:00 2001 From: Pranith <51438891+Pranith15403@users.noreply.github.com> Date: Tue, 28 May 2024 02:36:40 +0530 Subject: [PATCH] docs : Added integrations for tools with langchain_community (#22188) PR title: Docs enhancement Description: Adding installation instructions for integrations requiring langchain-community package since 0.2 Issue: https://github.com/langchain-ai/langchain/issues/22005 --- .../tools/google_cloud_texttospeech.ipynb | 2 +- docs/docs/integrations/tools/google_drive.ipynb | 2 +- docs/docs/integrations/tools/google_finance.ipynb | 2 +- docs/docs/integrations/tools/google_jobs.ipynb | 2 +- docs/docs/integrations/tools/google_lens.ipynb | 2 +- docs/docs/integrations/tools/google_places.ipynb | 2 +- docs/docs/integrations/tools/google_scholar.ipynb | 2 +- docs/docs/integrations/tools/google_search.ipynb | 10 ++++++++++ docs/docs/integrations/tools/google_serper.ipynb | 10 ++++++++++ docs/docs/integrations/tools/google_trends.ipynb | 2 +- docs/docs/integrations/tools/gradio_tools.ipynb | 2 +- docs/docs/integrations/tools/graphql.ipynb | 13 +++++++++++++ .../docs/integrations/tools/huggingface_tools.ipynb | 10 ++++++++++ docs/docs/integrations/tools/human_tools.ipynb | 9 +++++++++ docs/docs/integrations/tools/ifttt.ipynb | 10 ++++++++++ 15 files changed, 71 insertions(+), 9 deletions(-) diff --git a/docs/docs/integrations/tools/google_cloud_texttospeech.ipynb b/docs/docs/integrations/tools/google_cloud_texttospeech.ipynb index de44c5b10a..11f1a13ae1 100644 --- a/docs/docs/integrations/tools/google_cloud_texttospeech.ipynb +++ b/docs/docs/integrations/tools/google_cloud_texttospeech.ipynb @@ -27,7 +27,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --upgrade --quiet google-cloud-text-to-speech" + "%pip install --upgrade --quiet google-cloud-text-to-speech langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/google_drive.ipynb b/docs/docs/integrations/tools/google_drive.ipynb index 544411db67..d3d216a733 100644 --- a/docs/docs/integrations/tools/google_drive.ipynb +++ b/docs/docs/integrations/tools/google_drive.ipynb @@ -30,7 +30,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --upgrade --quiet google-api-python-client google-auth-httplib2 google-auth-oauthlib" + "%pip install --upgrade --quiet google-api-python-client google-auth-httplib2 google-auth-oauthlib langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/google_finance.ipynb b/docs/docs/integrations/tools/google_finance.ipynb index 9f983e8bdd..315b4dae78 100644 --- a/docs/docs/integrations/tools/google_finance.ipynb +++ b/docs/docs/integrations/tools/google_finance.ipynb @@ -32,7 +32,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --upgrade --quiet google-search-results" + "%pip install --upgrade --quiet google-search-results langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/google_jobs.ipynb b/docs/docs/integrations/tools/google_jobs.ipynb index 021159df69..855fb4ec3f 100644 --- a/docs/docs/integrations/tools/google_jobs.ipynb +++ b/docs/docs/integrations/tools/google_jobs.ipynb @@ -59,7 +59,7 @@ } ], "source": [ - "%pip install --upgrade --quiet google-search-results" + "%pip install --upgrade --quiet google-search-results langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/google_lens.ipynb b/docs/docs/integrations/tools/google_lens.ipynb index b9729c9337..00a6c47e6c 100644 --- a/docs/docs/integrations/tools/google_lens.ipynb +++ b/docs/docs/integrations/tools/google_lens.ipynb @@ -39,7 +39,7 @@ } ], "source": [ - "%pip install --upgrade --quiet requests" + "%pip install --upgrade --quiet requests langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/google_places.ipynb b/docs/docs/integrations/tools/google_places.ipynb index 6c8adbc702..f5a0247a2f 100644 --- a/docs/docs/integrations/tools/google_places.ipynb +++ b/docs/docs/integrations/tools/google_places.ipynb @@ -17,7 +17,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --upgrade --quiet googlemaps" + "%pip install --upgrade --quiet googlemaps langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/google_scholar.ipynb b/docs/docs/integrations/tools/google_scholar.ipynb index a94714783b..a2fc92b4eb 100644 --- a/docs/docs/integrations/tools/google_scholar.ipynb +++ b/docs/docs/integrations/tools/google_scholar.ipynb @@ -28,7 +28,7 @@ } ], "source": [ - "%pip install --upgrade --quiet google-search-results" + "%pip install --upgrade --quiet google-search-results langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/google_search.ipynb b/docs/docs/integrations/tools/google_search.ipynb index beac41eb59..f916bd19fc 100644 --- a/docs/docs/integrations/tools/google_search.ipynb +++ b/docs/docs/integrations/tools/google_search.ipynb @@ -14,6 +14,16 @@ "Then we will need to set some environment variables." ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "a2998f9c", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install --upgrade --quiet langchain-community" + ] + }, { "cell_type": "code", "execution_count": 1, diff --git a/docs/docs/integrations/tools/google_serper.ipynb b/docs/docs/integrations/tools/google_serper.ipynb index fc83b6c3bf..3ea5265635 100644 --- a/docs/docs/integrations/tools/google_serper.ipynb +++ b/docs/docs/integrations/tools/google_serper.ipynb @@ -10,6 +10,16 @@ "This notebook goes over how to use the `Google Serper` component to search the web. First you need to sign up for a free account at [serper.dev](https://serper.dev) and get your api key." ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "ac0b9ce6", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install --upgrade --quiet langchain-community" + ] + }, { "cell_type": "code", "execution_count": 11, diff --git a/docs/docs/integrations/tools/google_trends.ipynb b/docs/docs/integrations/tools/google_trends.ipynb index c5a6ff81d4..c0893a9344 100644 --- a/docs/docs/integrations/tools/google_trends.ipynb +++ b/docs/docs/integrations/tools/google_trends.ipynb @@ -40,7 +40,7 @@ } ], "source": [ - "%pip install --upgrade --quiet google-search-results" + "%pip install --upgrade --quiet google-search-results langchain_community" ] }, { diff --git a/docs/docs/integrations/tools/gradio_tools.ipynb b/docs/docs/integrations/tools/gradio_tools.ipynb index 0d5961e4d6..8c8ad5772d 100644 --- a/docs/docs/integrations/tools/gradio_tools.ipynb +++ b/docs/docs/integrations/tools/gradio_tools.ipynb @@ -21,7 +21,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --upgrade --quiet gradio_tools" + "%pip install --upgrade --quiet gradio_tools langchain-community" ] }, { diff --git a/docs/docs/integrations/tools/graphql.ipynb b/docs/docs/integrations/tools/graphql.ipynb index a33ad9b232..bc0ded37bd 100644 --- a/docs/docs/integrations/tools/graphql.ipynb +++ b/docs/docs/integrations/tools/graphql.ipynb @@ -30,6 +30,19 @@ "pip install httpx gql > /dev/null" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "vscode": { + "languageId": "shellscript" + } + }, + "outputs": [], + "source": [ + "%pip install --upgrade --quiet langchain-community" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/docs/docs/integrations/tools/huggingface_tools.ipynb b/docs/docs/integrations/tools/huggingface_tools.ipynb index a1ef70532f..8408d37389 100644 --- a/docs/docs/integrations/tools/huggingface_tools.ipynb +++ b/docs/docs/integrations/tools/huggingface_tools.ipynb @@ -22,6 +22,16 @@ "%pip install --upgrade --quiet transformers huggingface_hub > /dev/null" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "e5b9279f", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install --upgrade --quiet langchain-community" + ] + }, { "cell_type": "code", "execution_count": 1, diff --git a/docs/docs/integrations/tools/human_tools.ipynb b/docs/docs/integrations/tools/human_tools.ipynb index 49d54bb7aa..ab44da90f2 100644 --- a/docs/docs/integrations/tools/human_tools.ipynb +++ b/docs/docs/integrations/tools/human_tools.ipynb @@ -10,6 +10,15 @@ "when it is confused." ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "%pip install --upgrade --quiet langchain-community" + ] + }, { "cell_type": "code", "execution_count": 1, diff --git a/docs/docs/integrations/tools/ifttt.ipynb b/docs/docs/integrations/tools/ifttt.ipynb index 2e86a60787..4cd3bf9f68 100644 --- a/docs/docs/integrations/tools/ifttt.ipynb +++ b/docs/docs/integrations/tools/ifttt.ipynb @@ -44,6 +44,16 @@ "https://maker.ifttt.com/use/YOUR_IFTTT_KEY. Grab the YOUR_IFTTT_KEY value.\n" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "d356bc92", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install --upgrade --quiet langchain-community" + ] + }, { "cell_type": "code", "execution_count": 1,