diff --git a/dist/litellm-1.16.21.dev1-py3-none-any.whl b/dist/litellm-1.16.21.dev1-py3-none-any.whl new file mode 100644 index 000000000..889690a17 Binary files /dev/null and b/dist/litellm-1.16.21.dev1-py3-none-any.whl differ diff --git a/dist/litellm-1.16.21.dev1.tar.gz b/dist/litellm-1.16.21.dev1.tar.gz new file mode 100644 index 000000000..17d0c0b76 Binary files /dev/null and b/dist/litellm-1.16.21.dev1.tar.gz differ diff --git a/docs/my-website/docs/proxy/virtual_keys.md b/docs/my-website/docs/proxy/virtual_keys.md index 36fa1c3e9..2cbce7b4f 100644 --- a/docs/my-website/docs/proxy/virtual_keys.md +++ b/docs/my-website/docs/proxy/virtual_keys.md @@ -244,3 +244,35 @@ general_settings: $ litellm --config /path/to/config.yaml ``` + +## [BETA] Dynamo DB + +Only live in `v1.16.21.dev1`. + +### Step 1. Save keys to env + +```env +AWS_ACCESS_KEY_ID = "your-aws-access-key-id" +AWS_SECRET_ACCESS_KEY = "your-aws-secret-access-key" +``` + +### Step 2. Add details to config + +```yaml +general_settings: + master_key: sk-1234 + database_type: "dynamo_db" + database_args: { # 👈 all args - https://github.com/BerriAI/litellm/blob/befbcbb7ac8f59835ce47415c128decf37aac328/litellm/proxy/_types.py#L190 + "billing_mode": "PAY_PER_REQUEST", + "region_name": "us-west-2" + } +``` + +### Step 3. Generate Key + +```bash +curl --location 'http://0.0.0.0:8000/key/generate' \ +--header 'Authorization: Bearer sk-1234' \ +--header 'Content-Type: application/json' \ +--data '{"models": ["azure-models"], "aliases": {"mistral-7b": "gpt-3.5-turbo"}, "duration": null}' +``` \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 9b3b46e3e..8f4230f41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm" -version = "1.16.21" +version = "1.16.21.dev1" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License" @@ -59,7 +59,7 @@ requires = ["poetry-core", "wheel"] build-backend = "poetry.core.masonry.api" [tool.commitizen] -version = "1.16.21" +version = "1.16.21.dev1" version_files = [ "pyproject.toml:^version" ]