docs : Added integrations for tools with langchain_community (#22056)

- **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
This commit is contained in:
Kartheek Yakkala 2024-05-24 00:39:34 +05:30 committed by GitHub
parent 152c8cac33
commit 18b8c8628a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 94 additions and 15 deletions

1
.gitignore vendored
View File

@ -178,3 +178,4 @@ _dist
docs/docs/templates docs/docs/templates
prof prof
virtualenv/

View File

@ -24,7 +24,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet apify-client langchain-openai langchain" "%pip install --upgrade --quiet apify-client langchain-community langchain-openai langchain"
] ]
}, },
{ {

View File

@ -24,7 +24,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet arxiv" "%pip install --upgrade --quiet langchain-community arxiv"
] ]
}, },
{ {

View File

@ -32,7 +32,8 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet boto3 > /dev/null" "%pip install --upgrade --quiet boto3 > /dev/null\n",
"%pip install --upgrade --quiet langchain-community"
] ]
}, },
{ {

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,17 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": null,
"id": "a83d2ea9",
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet langchain-community"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "f7b3767b", "id": "f7b3767b",
"metadata": { "metadata": {
"tags": [] "tags": []

View File

@ -12,6 +12,16 @@
"Get your api key here: https://bearly.ai/dashboard/developers" "Get your api key here: https://bearly.ai/dashboard/developers"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "8265cf7f",
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet langchain-community"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "3f99f7c9", "id": "3f99f7c9",

View File

@ -18,6 +18,15 @@
"Then we will need to set some environment variables." "Then we will need to set some environment variables."
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet langchain-community"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 20,

View File

@ -11,6 +11,16 @@
"Go to the [Brave Website](https://brave.com/search/api/) to sign up for a free account and get an API key." "Go to the [Brave Website](https://brave.com/search/api/) to sign up for a free account and get an API key."
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "2d7e7b3d",
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet langchain-community"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,

View File

@ -14,6 +14,16 @@
"Note 2: There are almost certainly other ways to do this, this is just a first pass. If you have better ideas, please open a PR!" "Note 2: There are almost certainly other ways to do this, this is just a first pass. If you have better ideas, please open a PR!"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "70d493c8",
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet langchain-community"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,

View File

@ -40,6 +40,15 @@
"Here, we use the ID of the **Send email** action from the [Gmail](https://github.com/connery-io/gmail) plugin." "Here, we use the ID of the **Send email** action from the [Gmail](https://github.com/connery-io/gmail) plugin."
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -upgrade --quiet langchain-community"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 11,

View File

@ -19,7 +19,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# Needed if you would like to display images in the notebook\n", "# Needed if you would like to display images in the notebook\n",
"%pip install --upgrade --quiet opencv-python scikit-image" "%pip install --upgrade --quiet opencv-python scikit-image langchain-community"
] ]
}, },
{ {

View File

@ -13,6 +13,15 @@
"This notebook demonstrates how to use the [DataForSeo API](https://dataforseo.com/apis) to obtain search engine results. " "This notebook demonstrates how to use the [DataForSeo API](https://dataforseo.com/apis) to obtain search engine results. "
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet langchain-community"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,

View File

@ -31,7 +31,8 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"pip install dataherald" "pip install dataherald\n",
"%pip install --upgrade --quiet langchain-community"
] ]
}, },
{ {

View File

@ -17,7 +17,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet duckduckgo-search" "%pip install --upgrade --quiet duckduckgo-search langchain-community"
] ]
}, },
{ {

View File

@ -46,7 +46,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet langchain e2b" "%pip install --upgrade --quiet langchain e2b langchain-community"
] ]
}, },
{ {

View File

@ -42,6 +42,15 @@
"Once we have a key we'll want to set it as the environment variable ``EDENAI_API_KEY`` or you can pass the key in directly via the edenai_api_key named parameter when initiating the EdenAI tools, e.g. ``EdenAiTextModerationTool(edenai_api_key=\"...\")``" "Once we have a key we'll want to set it as the environment variable ``EDENAI_API_KEY`` or you can pass the key in directly via the edenai_api_key named parameter when initiating the EdenAI tools, e.g. ``EdenAiTextModerationTool(edenai_api_key=\"...\")``"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet langchain-community"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 1,

View File

@ -25,7 +25,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet elevenlabs" "%pip install --upgrade --quiet elevenlabs langchain-community"
] ]
}, },
{ {

View File

@ -50,10 +50,10 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet langchain-exa\n", "%pip install --upgrade --quiet langchain-exa \n",
"\n", "\n",
"# and some deps for this notebook\n", "# and some deps for this notebook\n",
"%pip install --upgrade --quiet langchain langchain-openai" "%pip install --upgrade --quiet langchain langchain-openai langchain-community"
] ]
}, },
{ {