Skip to content

Commit

Permalink
Added langchain-community installation (#23741)
Browse files Browse the repository at this point in the history
PR title: Docs enhancement

- Description: Adding installation instructions for integrations
requiring langchain-community package since 0.2
- Issue: #22005

---------

Co-authored-by: ccurme <chester.curme@gmail.com>
  • Loading branch information
TejaHara and ccurme authored Jul 2, 2024
1 parent 46ff0f7 commit a77a263
Show file tree
Hide file tree
Showing 19 changed files with 148 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/docs/integrations/toolkits/ainetwork.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install --upgrade --quiet ain-py"
"%pip install --upgrade --quiet ain-py langchain-community"
]
},
{
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/integrations/toolkits/airbyte_structured_qa.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
"Vectorstores often have a hard time answering questions that requires computing, grouping and filtering structured data so the high level idea is to use a `pandas` dataframe to help with these types of questions. "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/integrations/toolkits/amadeus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
"%pip install --upgrade --quiet amadeus > /dev/null"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/integrations/toolkits/azure_ai_services.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"%pip install --upgrade --quiet azure-ai-formrecognizer > /dev/null\n",
"%pip install --upgrade --quiet azure-cognitiveservices-speech > /dev/null\n",
"%pip install --upgrade --quiet azure-ai-textanalytics > /dev/null\n",
"%pip install --upgrade --quiet azure-ai-vision-imageanalysis > /dev/null"
"%pip install --upgrade --quiet azure-ai-vision-imageanalysis > /dev/null\n",
"%pip install -qU langchain-community"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@
"%pip install --upgrade --quiet azure-ai-vision > /dev/null"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/integrations/toolkits/clickup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
">It is a cloud-based project management solution for businesses of all sizes featuring communication and collaboration tools to help achieve organizational goals."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
10 changes: 10 additions & 0 deletions docs/docs/integrations/toolkits/cogniswitch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@
"- You will get the answer from your knowledge as the response. \n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "bfe4510e",
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "markdown",
"id": "1435b193",
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/integrations/toolkits/connery.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@
"You can see a LangSmith trace of this example [here](https://smith.langchain.com/public/4af5385a-afe9-46f6-8a53-57fe2d63c5bc/r)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
10 changes: 10 additions & 0 deletions docs/docs/integrations/toolkits/document_comparison_toolkit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
"The high level idea is we will create a question-answering chain for each document, and then use that "
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0dae50f1",
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/toolkits/github.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
"outputs": [],
"source": [
"%pip install --upgrade --quiet pygithub"
"%pip install --upgrade --quiet pygithub langchain-community"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/toolkits/gitlab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"outputs": [],
"source": [
"%pip install --upgrade --quiet python-gitlab"
"%pip install --upgrade --quiet python-gitlab langchain-community"
]
},
{
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/integrations/toolkits/gmail.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@
"```"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
14 changes: 14 additions & 0 deletions docs/docs/integrations/toolkits/jira.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@
"%pip install --upgrade --quiet atlassian-python-api"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e84d425c",
"metadata": {
"vscode": {
"languageId": "shellscript"
}
},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down
10 changes: 10 additions & 0 deletions docs/docs/integrations/toolkits/json.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@
"We will use the JSON agent to answer some questions about the API spec."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "dc11cb15",
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "markdown",
"id": "893f90fd-f8f6-470a-a76d-1f200ba02e2f",
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/integrations/toolkits/multion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
"%pip install --upgrade --quiet multion langchain -q"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": 37,
Expand Down
10 changes: 10 additions & 0 deletions docs/docs/integrations/toolkits/nasa.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@
"### Initializing the agent"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e304b602",
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/integrations/toolkits/office365.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"outputs": [],
"source": [
"%pip install --upgrade --quiet O365\n",
"%pip install --upgrade --quiet beautifulsoup4 # This is optional but is useful for parsing HTML messages"
"%pip install --upgrade --quiet beautifulsoup4 # This is optional but is useful for parsing HTML messages\n",
"%pip install -qU langchain-community"
]
},
{
Expand Down
19 changes: 14 additions & 5 deletions docs/docs/integrations/tools/filesystem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
"**Note:** these tools are not recommended for use outside a sandboxed environment! "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -20,7 +29,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -48,7 +57,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -88,7 +97,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -116,7 +125,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -137,7 +146,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down
10 changes: 10 additions & 0 deletions docs/docs/integrations/tools/golden_query.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@
"- Save your API key into GOLDEN_API_KEY env variable"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "f771643c",
"metadata": {},
"outputs": [],
"source": [
"%pip install -qU langchain-community"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit a77a263

Please sign in to comment.