Update README.md

This commit is contained in:
Ishaan Jaff 2023-07-26 17:46:23 -07:00 committed by GitHub
parent 14bc3acd04
commit 65956a8bb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,12 @@
a simple, fast, 100 line package to call OpenAI, Azure, Cohere, Anthropic API Endpoints
# usage
```python
from litellm import completion
messages = [{ "content": "Hello, how are you?","role": "user"}]
# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)