forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
17be1d89b3
commit
bb50729a18
1 changed files with 2 additions and 3 deletions
|
@ -44,10 +44,9 @@ pip install litellm
|
|||
from litellm import completion
|
||||
import os
|
||||
|
||||
## We provide a free $10 key to try all providers supported on LiteLLM.
|
||||
## set ENV variables
|
||||
os.environ["OPENAI_API_KEY"] = "sk-litellm-5b46387675a944d2" # [OPTIONAL] replace with your openai key
|
||||
os.environ["COHERE_API_KEY"] = "sk-litellm-5b46387675a944d2" # [OPTIONAL] replace with your cohere key
|
||||
os.environ["OPENAI_API_KEY"] = "your-openai-key"
|
||||
os.environ["COHERE_API_KEY"] = "your-cohere-key"
|
||||
|
||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue