forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
14bc3acd04
commit
65956a8bb6
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue