forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
daf3554494
commit
9b7cf21de7
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ pip install litellm
|
|||
|
||||
```python
|
||||
from litellm import completion
|
||||
import os
|
||||
|
||||
# set API keys
|
||||
os.environ['OPENAI_API_KEY'] = "<your key>"
|
||||
|
||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue