Update README.md

This commit is contained in:
Ishaan Jaff 2023-07-26 18:00:18 -07:00 committed by GitHub
parent 7fb2791b1d
commit 918f20f4dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,10 @@ litellm manages:
```python
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"}]
# openai call