From 27b9ea14a51398e8ff2a4972026178778f85134b Mon Sep 17 00:00:00 2001 From: NithinBairapaka Date: Tue, 11 Jun 2024 07:14:05 +0530 Subject: [PATCH] docs: Updated integration docs with required package installations (#22392) **Title:** Updated integration docs with required package installations **Issue:** #22005 --- docs/docs/integrations/llms/aleph_alpha.ipynb | 11 +++++++++++ .../llms/alibabacloud_pai_eas_endpoint.ipynb | 10 ++++++++++ docs/docs/integrations/llms/amazon_api_gateway.ipynb | 10 ++++++++++ docs/docs/integrations/llms/anyscale.ipynb | 11 +++++++++++ docs/docs/integrations/llms/aphrodite.ipynb | 11 +++++++++++ docs/docs/integrations/llms/arcee.ipynb | 10 ++++++++++ docs/docs/integrations/llms/azure_ml.ipynb | 10 ++++++++++ docs/docs/integrations/llms/baichuan.ipynb | 10 ++++++++++ .../integrations/llms/baidu_qianfan_endpoint.ipynb | 10 ++++++++++ docs/docs/integrations/llms/banana.ipynb | 10 ++++++++++ docs/docs/integrations/llms/baseten.ipynb | 10 ++++++++++ 11 files changed, 113 insertions(+) diff --git a/docs/docs/integrations/llms/aleph_alpha.ipynb b/docs/docs/integrations/llms/aleph_alpha.ipynb index 95351992ed6..70fc18af07f 100644 --- a/docs/docs/integrations/llms/aleph_alpha.ipynb +++ b/docs/docs/integrations/llms/aleph_alpha.ipynb @@ -12,6 +12,17 @@ "This example goes over how to use LangChain to interact with Aleph Alpha models" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "84483bd5", + "metadata": {}, + "outputs": [], + "source": [ + "# Installing the langchain package needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/docs/docs/integrations/llms/alibabacloud_pai_eas_endpoint.ipynb b/docs/docs/integrations/llms/alibabacloud_pai_eas_endpoint.ipynb index f10c07770c8..1f82a755ea2 100644 --- a/docs/docs/integrations/llms/alibabacloud_pai_eas_endpoint.ipynb +++ b/docs/docs/integrations/llms/alibabacloud_pai_eas_endpoint.ipynb @@ -9,6 +9,16 @@ ">[Machine Learning Platform for AI of Alibaba Cloud](https://www.alibabacloud.com/help/en/pai) is a machine learning or deep learning engineering platform intended for enterprises and developers. It provides easy-to-use, cost-effective, high-performance, and easy-to-scale plug-ins that can be applied to various industry scenarios. With over 140 built-in optimization algorithms, `Machine Learning Platform for AI` provides whole-process AI engineering capabilities including data labeling (`PAI-iTAG`), model building (`PAI-Designer` and `PAI-DSW`), model training (`PAI-DLC`), compilation optimization, and inference deployment (`PAI-EAS`). `PAI-EAS` supports different types of hardware resources, including CPUs and GPUs, and features high throughput and low latency. It allows you to deploy large-scale complex models with a few clicks and perform elastic scale-ins and scale-outs in real time. It also provides a comprehensive O&M and monitoring system." ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": 8, diff --git a/docs/docs/integrations/llms/amazon_api_gateway.ipynb b/docs/docs/integrations/llms/amazon_api_gateway.ipynb index 86dc9e73195..fbccba37e5d 100644 --- a/docs/docs/integrations/llms/amazon_api_gateway.ipynb +++ b/docs/docs/integrations/llms/amazon_api_gateway.ipynb @@ -16,6 +16,16 @@ ">`API Gateway` handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, CORS support, authorization >and access control, throttling, monitoring, and API version management. `API Gateway` has no minimum fees or startup costs. You pay for the API calls you receive and the amount of data >transferred out and, with the `API Gateway` tiered pricing model, you can reduce your cost as your API usage scales." ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/docs/docs/integrations/llms/anyscale.ipynb b/docs/docs/integrations/llms/anyscale.ipynb index 5bba14d951b..cb3a177d3ba 100644 --- a/docs/docs/integrations/llms/anyscale.ipynb +++ b/docs/docs/integrations/llms/anyscale.ipynb @@ -12,6 +12,17 @@ "This example goes over how to use LangChain to interact with [Anyscale Endpoint](https://app.endpoints.anyscale.com/). " ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "134bd228", + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/docs/docs/integrations/llms/aphrodite.ipynb b/docs/docs/integrations/llms/aphrodite.ipynb index 724f271ac5a..d5784757f35 100644 --- a/docs/docs/integrations/llms/aphrodite.ipynb +++ b/docs/docs/integrations/llms/aphrodite.ipynb @@ -18,6 +18,17 @@ "To use, you should have the `aphrodite-engine` python package installed." ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "4dba1074", + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/docs/docs/integrations/llms/arcee.ipynb b/docs/docs/integrations/llms/arcee.ipynb index 4e73a0a92c6..e1b7f8b4dc5 100644 --- a/docs/docs/integrations/llms/arcee.ipynb +++ b/docs/docs/integrations/llms/arcee.ipynb @@ -8,6 +8,16 @@ "This notebook demonstrates how to use the `Arcee` class for generating text using Arcee's Domain Adapted Language Models (DALMs)." ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/docs/docs/integrations/llms/azure_ml.ipynb b/docs/docs/integrations/llms/azure_ml.ipynb index 7407560109d..53589ef48b6 100644 --- a/docs/docs/integrations/llms/azure_ml.ipynb +++ b/docs/docs/integrations/llms/azure_ml.ipynb @@ -11,6 +11,16 @@ "This notebook goes over how to use an LLM hosted on an `Azure ML Online Endpoint`." ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/docs/docs/integrations/llms/baichuan.ipynb b/docs/docs/integrations/llms/baichuan.ipynb index ec55b305bd4..9028ba0b800 100644 --- a/docs/docs/integrations/llms/baichuan.ipynb +++ b/docs/docs/integrations/llms/baichuan.ipynb @@ -8,6 +8,16 @@ "Baichuan Inc. (https://www.baichuan-ai.com/) is a Chinese startup in the era of AGI, dedicated to addressing fundamental human needs: Efficiency, Health, and Happiness." ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/docs/docs/integrations/llms/baidu_qianfan_endpoint.ipynb b/docs/docs/integrations/llms/baidu_qianfan_endpoint.ipynb index 4f8a3cbf10e..8abd40dbc9a 100644 --- a/docs/docs/integrations/llms/baidu_qianfan_endpoint.ipynb +++ b/docs/docs/integrations/llms/baidu_qianfan_endpoint.ipynb @@ -45,6 +45,16 @@ "- AquilaChat-7B" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": 2, diff --git a/docs/docs/integrations/llms/banana.ipynb b/docs/docs/integrations/llms/banana.ipynb index a9836f09220..6f6a4944121 100644 --- a/docs/docs/integrations/llms/banana.ipynb +++ b/docs/docs/integrations/llms/banana.ipynb @@ -12,6 +12,16 @@ "This example goes over how to use LangChain to interact with Banana models" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/docs/docs/integrations/llms/baseten.ipynb b/docs/docs/integrations/llms/baseten.ipynb index e8c92bee9cf..ae3f1adae29 100644 --- a/docs/docs/integrations/llms/baseten.ipynb +++ b/docs/docs/integrations/llms/baseten.ipynb @@ -45,6 +45,16 @@ "In this example, we'll work with Mistral 7B. [Deploy Mistral 7B here](https://app.baseten.co/explore/mistral_7b_instruct) and follow along with the deployed model's ID, found in the model dashboard." ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "##Installing the langchain packages needed to use the integration\n", + "%pip install -qU langchain-community" + ] + }, { "cell_type": "code", "execution_count": null,