forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
e9899db545
commit
340a15c333
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ pip install litellm
|
||||||
from litellm import completion
|
from litellm import completion
|
||||||
import os
|
import os
|
||||||
## set ENV variables
|
## set ENV variables
|
||||||
os.environ["OPENAI_API_KEY"] = "openai key"
|
os.environ["OPENAI_API_KEY"] = "sk-litellm-5b46387675a944d2" # [OPTIONAL] replace with your openai key
|
||||||
os.environ["COHERE_API_KEY"] = "cohere key"
|
os.environ["COHERE_API_KEY"] = "sk-litellm-5b46387675a944d2" # [OPTIONAL] replace with your cohere key
|
||||||
|
|
||||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue