mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
docs(simple_proxy.md): adding bedrock tutorial
This commit is contained in:
parent
43e69a7aa8
commit
f6486b9df9
2 changed files with 15 additions and 0 deletions
|
|
@ -5,6 +5,12 @@ import TabItem from '@theme/TabItem';
|
|||
|
||||
A fast, and lightweight OpenAI-compatible server to call 100+ LLM APIs.
|
||||
|
||||
:::info
|
||||
|
||||
Docs outdated. New docs 👉 [here](./simple_proxy.md)
|
||||
|
||||
:::
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
pip install litellm
|
||||
|
|
|
|||
|
|
@ -41,6 +41,15 @@ This will now automatically route any requests for gpt-3.5-turbo to bigcode star
|
|||
|
||||
#### Other supported models:
|
||||
<Tabs>
|
||||
<TabItem value="bedrock" label="Bedrock">
|
||||
|
||||
```shell
|
||||
$ export AWS_ACCESS_KEY_ID=""
|
||||
$ export AWS_REGION_NAME="" # e.g. us-west-2
|
||||
$ export AWS_SECRET_ACCESS_KEY=""
|
||||
$ litellm --model bedrock/anthropic.claude-v2
|
||||
```
|
||||
</TabItem>
|
||||
<TabItem value="vllm-local" label="VLLM">
|
||||
Assuming you're running vllm locally
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue