forked from phoenix/litellm-mirror
(docs) add deploy to cloud run
This commit is contained in:
parent
416916d285
commit
959d44e8a4
1 changed files with 8 additions and 2 deletions
|
@ -7,7 +7,7 @@ join our [discord](https://discord.gg/wuPM9dRgDw)
|
|||
:::
|
||||
|
||||
|
||||
## usage
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/BerriAI/litellm.git
|
||||
|
@ -20,7 +20,7 @@ $ cd ./litellm/openai-proxy
|
|||
$ uvicorn main:app --host 0.0.0.0 --port 8000
|
||||
```
|
||||
|
||||
## replace openai base
|
||||
## Replace openai base
|
||||
```python
|
||||
import openai
|
||||
openai.api_base = "http://0.0.0.0:8000"
|
||||
|
@ -53,3 +53,9 @@ print(response)
|
|||
:::info
|
||||
Looking for the CLI tool/local proxy? It's [here](./proxy_server.md)
|
||||
:::
|
||||
|
||||
## Deploy on Google Cloud Run
|
||||
|
||||
[](https://deploy.cloud.run?git_repo=https://github.com/BerriAI/litellm)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue