forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
7fb2791b1d
commit
918f20f4dd
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ litellm manages:
|
||||||
```python
|
```python
|
||||||
from litellm import completion
|
from litellm import completion
|
||||||
|
|
||||||
|
## set ENV variables
|
||||||
|
os.environ["OPENAI_API_KEY"] = "openai key"
|
||||||
|
os.environ["COHERE_API_KEY"] = "cohere key"
|
||||||
|
|
||||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||||
|
|
||||||
# openai call
|
# openai call
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue