Skip to content

The agent engineering platform.

docs: more pip installs (#15771)

Erick Friis7b084b4cc768
diff --git a/docs/docs/integrations/platforms/microsoft.mdx b/docs/docs/integrations/platforms/microsoft.mdx
index d821454e9a..898ff688cd 100644
--- a/docs/docs/integrations/platforms/microsoft.mdx
+++ b/docs/docs/integrations/platforms/microsoft.mdx
@@ -10,7 +10,7 @@ All functionality related to `Microsoft Azure` and other `Microsoft` products.
>[Azure OpenAI](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/) is an `Azure` service with powerful language models from `OpenAI` including the `GPT-3`, `Codex` and `Embeddings model` series for content generation, summarization, semantic search, and natural language to code translation.
```bash
-pip install openai tiktoken
+pip install langchain-openai
```
Set the environment variables to get access to the `Azure OpenAI` service.
diff --git a/docs/docs/integrations/platforms/openai.mdx b/docs/docs/integrations/platforms/openai.mdx
index 07fcaed88f..9e74120231 100644
--- a/docs/docs/integrations/platforms/openai.mdx
+++ b/docs/docs/integrations/platforms/openai.mdx
@@ -14,11 +14,12 @@ All functionality related to OpenAI
## Installation and Setup
-- Install the LangChain partner package
+Install the integration package with
```bash
pip install langchain-openai
```
-- Get an OpenAI api key and set it as an environment variable (`OPENAI_API_KEY`)
+
+Get an OpenAI api key and set it as an environment variable (`OPENAI_API_KEY`)
## LLM
diff --git a/docs/docs/integrations/providers/pg_embedding.mdx b/docs/docs/integrations/providers/pg_embedding.mdx
index 7ce5a026b3..9bcd05bd27 100644
--- a/docs/docs/integrations/providers/pg_embedding.mdx
+++ b/docs/docs/integrations/providers/pg_embedding.mdx
@@ -9,9 +9,7 @@
We need to install several python packages.
```bash
-pip install openai
pip install psycopg2-binary
-pip install tiktoken
```
## Vector Store
diff --git a/docs/docs/integrations/providers/tigris.mdx b/docs/docs/integrations/providers/tigris.mdx
index 0604db17c4..7852b6453c 100644
--- a/docs/docs/integrations/providers/tigris.mdx
+++ b/docs/docs/integrations/providers/tigris.mdx
@@ -7,7 +7,7 @@
```bash
-pip install tigrisdb openapi-schema-pydantic openai tiktoken
+pip install tigrisdb openapi-schema-pydantic
```
## Vector Store
diff --git a/docs/docs/integrations/providers/typesense.mdx b/docs/docs/integrations/providers/typesense.mdx
index 97f1601dd6..9036714e52 100644
--- a/docs/docs/integrations/providers/typesense.mdx
+++ b/docs/docs/integrations/providers/typesense.mdx
@@ -10,7 +10,7 @@
```bash
-pip install typesense openapi-schema-pydantic openai tiktoken
+pip install typesense openapi-schema-pydantic
```
## Vector Store
diff --git a/docs/docs/integrations/retrievers/outline.ipynb b/docs/docs/integrations/retrievers/outline.ipynb
index be0fd0dcba..19ec98fb48 100644
--- a/docs/docs/integrations/retrievers/outline.ipynb
+++ b/docs/docs/integrations/retrievers/outline.ipynb
@@ -18,6 +18,15 @@
"## Setup"
]
},
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "%pip install --upgrade --quiet langchain langchain-openai"
+ ]
+ },
{
"cell_type": "markdown",
"metadata": {},
diff --git a/docs/docs/modules/data_connection/text_embedding/index.mdx b/docs/docs/modules/data_connection/text_embedding/index.mdx
index 44701055d6..b014e01743 100644
--- a/docs/docs/modules/data_connection/text_embedding/index.mdx
+++ b/docs/docs/modules/data_connection/text_embedding/index.mdx
@@ -17,10 +17,10 @@ The base Embeddings class in LangChain provides two methods: one for embedding d
### Setup
-To start we'll need to install the OpenAI Python package:
+To start we'll need to install the OpenAI partner package:
```bash
-pip install openai
+pip install langchain-openai
```
Accessing the API requires an API key, which you can get by creating an account and heading [here](https://platform.openai.com/account/api-keys). Once we have a key we'll want to set it as an environment variable by running:
diff --git a/docs/docs/modules/model_io/chat/quick_start.ipynb b/docs/docs/modules/model_io/chat/quick_start.ipynb
index c0307fca1c..1be5c1f3ac 100644
--- a/docs/docs/modules/model_io/chat/quick_start.ipynb
+++ b/docs/docs/modules/model_io/chat/quick_start.ipynb
@@ -24,10 +24,10 @@
"\n",
"## Setup\n",
"\n",
- "For this example we'll need to install the OpenAI Python package:\n",
+ "For this example we'll need to install the OpenAI partner package:\n",
"\n",
"```bash\n",
- "pip install openai\n",
+ "pip install langchain-openai\n",
"```\n",
"\n",
"Accessing the API requires an API key, which you can get by creating an account and heading [here](https://platform.openai.com/account/api-keys). Once we have a key we'll want to set it as an environment variable by running:\n",
diff --git a/docs/docs/modules/model_io/quick_start.mdx b/docs/docs/modules/model_io/quick_start.mdx
index 931e6d0785..3c6be1d519 100644
--- a/docs/docs/modules/model_io/quick_start.mdx
+++ b/docs/docs/modules/model_io/quick_start.mdx
@@ -16,10 +16,10 @@ import CodeBlock from "@theme/CodeBlock";
<Tabs>
<TabItem value="openai" label="OpenAI" default>
-First we'll need to install their Python package:
+First we'll need to install their partner package:
```shell
-pip install openai
+pip install langchain-openai
```
Accessing the API requires an API key, which you can get by creating an account and heading [here](https://platform.openai.com/account/api-keys). Once we have a key we'll want to set it as an environment variable by running: