Skip to content

Commit

Permalink
docs: more pip installs (langchain-ai#15771)
Browse files Browse the repository at this point in the history
- vertex chat
- google
- some pip openai
- percent and openai
- all percent
- more
- pip
- fmt
- docs: google vertex partner docs
- fmt
- docs: more pip installs
  • Loading branch information
efriis committed Jan 13, 2024
1 parent bccb07f commit 7b084b4
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/docs/integrations/platforms/microsoft.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions docs/docs/integrations/platforms/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions docs/docs/integrations/providers/pg_embedding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
We need to install several python packages.

```bash
pip install openai
pip install psycopg2-binary
pip install tiktoken
```

## Vector Store
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/providers/tigris.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


```bash
pip install tigrisdb openapi-schema-pydantic openai tiktoken
pip install tigrisdb openapi-schema-pydantic
```

## Vector Store
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/providers/typesense.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


```bash
pip install typesense openapi-schema-pydantic openai tiktoken
pip install typesense openapi-schema-pydantic
```

## Vector Store
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/integrations/retrievers/outline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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": {},
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/modules/data_connection/text_embedding/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/modules/model_io/chat/quick_start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/modules/model_io/quick_start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7b084b4

Please sign in to comment.