forked from phoenix/litellm-mirror
(docs) set env variables on google cloud run
This commit is contained in:
parent
2c8e2a010c
commit
98a7f37d5f
4 changed files with 20 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
import Image from '@theme/IdealImage';
|
||||
|
||||
# OpenAI Proxy Server
|
||||
|
||||
A simple, fast, and lightweight **OpenAI-compatible server** to call 100+ LLM APIs.
|
||||
|
||||
[](https://deploy.cloud.run?git_repo=https://github.com/BerriAI/litellm)
|
||||
|
@ -62,4 +65,21 @@ Looking for the CLI tool/local proxy? It's [here](./proxy_server.md)
|
|||
|
||||
[](https://deploy.cloud.run?git_repo=https://github.com/BerriAI/litellm)
|
||||
|
||||
### Set LLM API Keys
|
||||
#### Environment Variables
|
||||
More info [here](https://cloud.google.com/run/docs/configuring/services/environment-variables#console)
|
||||
|
||||
1. In the Google Cloud console, go to Cloud Run: [Go to Cloud Run](https://console.cloud.google.com/run)
|
||||
|
||||
2. Click on the **litellm** service
|
||||
<Image img={require('../img/cloud_run1.png')} />
|
||||
|
||||
3. Click **Edit and Deploy New Revision**
|
||||
<Image img={require('../img/cloud_run2.png')} />
|
||||
|
||||
4. Enter your Environment Variables
|
||||
Example `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`
|
||||
<Image img={require('../img/cloud_run3.png')} />
|
||||
|
||||
|
||||
|
||||
|
|
BIN
docs/my-website/img/cloud_run1.png
Normal file
BIN
docs/my-website/img/cloud_run1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 107 KiB |
BIN
docs/my-website/img/cloud_run2.png
Normal file
BIN
docs/my-website/img/cloud_run2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 215 KiB |
BIN
docs/my-website/img/cloud_run3.png
Normal file
BIN
docs/my-website/img/cloud_run3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 141 KiB |
Loading…
Add table
Add a link
Reference in a new issue