docs: more pip installs (#15771)

- vertex chat
- google
- some pip openai
- percent and openai
- all percent
- more
- pip
- fmt
- docs: google vertex partner docs
- fmt
- docs: more pip installs
pull/15986/head
Erick Friis 9 months ago committed by GitHub
parent bccb07f93e
commit 7b084b4cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.

@ -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

@ -9,9 +9,7 @@
We need to install several python packages.
```bash
pip install openai
pip install psycopg2-binary
pip install tiktoken
```
## Vector Store

@ -7,7 +7,7 @@
```bash
pip install tigrisdb openapi-schema-pydantic openai tiktoken
pip install tigrisdb openapi-schema-pydantic
```
## Vector Store

@ -10,7 +10,7 @@
```bash
pip install typesense openapi-schema-pydantic openai tiktoken
pip install typesense openapi-schema-pydantic
```
## Vector Store

@ -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": {},

@ -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:

@ -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",

@ -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:

Loading…
Cancel
Save