update docs for litellm UI

This commit is contained in:
ishaan-jaff 2023-08-23 11:29:46 -07:00
parent 84754da801
commit 8318f47d61

View file

@ -1,25 +1,28 @@
import Image from '@theme/IdealImage'; import Image from '@theme/IdealImage';
# Debugging Dashboard # LiteLLM Client - Debugging Dashboard
LiteLLM offers a free UI to debug your calls + add new models at (https://admin.litellm.ai/). This is useful if you're testing your LiteLLM server and need to see if the API calls were made successfully **or** want to add new models without going into code. LiteLLM offers a UI to example: (https://admin.litellm.ai/).
* Add New LLMs - Store your API Keys, Model Configurations
* Debug your Call Logs
(https://admin.litellm.ai/)
**Needs litellm>=0.1.438***
## Setup
Once created, your dashboard is viewable at - `admin.litellm.ai/<your_email>` [👋 Tell us if you need better privacy controls](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version?month=2023-08) Once created, your dashboard is viewable at - `admin.litellm.ai/<your_email>` [👋 Tell us if you need better privacy controls](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version?month=2023-08)
You can set your user email in 2 ways.
- By setting it on the module - `litellm.email=<your_email>`.
- By setting it as an environment variable - `os.environ["LITELLM_EMAIL"] = "your_email"`.
<Image img={require('../../img/dashboard.png')} alt="Dashboard" /> <Image img={require('../../img/dashboard.png')} alt="Dashboard" />
See our live dashboard 👉 [admin.litellm.ai](https://admin.litellm.ai/) See our live dashboard 👉 [admin.litellm.ai](https://admin.litellm.ai/)
## Example Usage ## Usage
### Requirements
1. **Needs litellm>=0.1.438***
2. Set litellm.email account
You can set your user email in 2 ways.
- By setting it on the module - `litellm.email=<your_email>`.
- By setting it as an environment variable - `os.environ["LITELLM_EMAIL"] = "your_email"`.
## Code Setup
``` ```
import litellm import litellm
from litellm import embedding, completion from litellm import embedding, completion