forked from phoenix/litellm-mirror
update to docs
This commit is contained in:
parent
9d1c6eec3d
commit
22ce31a4f4
3 changed files with 796 additions and 233 deletions
|
@ -20,7 +20,6 @@ See our live dashboard 👉 [admin.litellm.ai](https://admin.litellm.ai/)
|
|||
## Code Setup
|
||||
```python
|
||||
import litellm
|
||||
from litellm import embedding, completion
|
||||
|
||||
## Setup for activating / using the litellm dashboard
|
||||
litellm.email = "test_email@test.com"
|
||||
|
@ -29,6 +28,12 @@ See our live dashboard 👉 [admin.litellm.ai](https://admin.litellm.ai/)
|
|||
|
||||
## Calling Completion() with the LiteLLM Dashboard
|
||||
```python
|
||||
import litellm
|
||||
from litellm import completion
|
||||
|
||||
## Setup for activating / using the litellm dashboard
|
||||
litellm.email = "test_email@test.com"
|
||||
|
||||
user_message = "Hello, how are you?"
|
||||
messages = [{ "content": user_message,"role": "user"}]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue