Update README.md

This commit is contained in:
Ishaan Jaff 2023-08-12 11:55:21 -07:00 committed by GitHub
parent daf3554494
commit 9b7cf21de7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"}]